Assume Invites are v2 Groups

This commit is contained in:
Sarah Jamie Lewis 2020-09-28 14:13:30 -07:00
parent aed688c72f
commit e5d21b25a3
1 changed files with 1 additions and 0 deletions

View File

@ -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