forked from cwtch.im/cwtch
Assume Invites are v2 Groups
This commit is contained in:
parent
aed688c72f
commit
e5d21b25a3
|
@ -363,6 +363,7 @@ func (p *Profile) ProcessInvite(invite string, peerHostname string) (string, err
|
|||
err := json.Unmarshal([]byte(invite), &gci)
|
||||
if err == nil {
|
||||
group := new(Group)
|
||||
group.Version = CurrentGroupVersion
|
||||
group.GroupID = gci.GroupName
|
||||
group.LocalID = GenerateRandomID()
|
||||
group.SignedGroupID = gci.SignedGroupID
|
||||
|
|
Loading…
Reference in New Issue