Browse Source

Merge branch 'master' of dan/cwtch into master

group-map-fix
Sarah Jamie Lewis Gogs 1 year ago
parent
commit
c4d55aee59
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      model/profile.go

+ 1
- 0
model/profile.go View File

@@ -277,6 +277,7 @@ func (p *Profile) GetGroupByGroupID(groupID string) (g *Group) {
func (p *Profile) ProcessInvite(gci *protocol.GroupChatInvite, peerHostname string) {
group := new(Group)
group.GroupID = gci.GetGroupName()
group.LocalID = generateRandomID()
group.SignedGroupID = gci.GetSignedGroupId()
copy(group.GroupKey[:], gci.GetGroupSharedKey()[:])
group.GroupServer = gci.GetServerHost()


Loading…
Cancel
Save