Merge branch 'master' of dan/cwtch into master

This commit is contained in:
Sarah Jamie Lewis 2019-02-04 19:54:54 +00:00 提交者 Gogs
當前提交 c4d55aee59
共有 1 個檔案被更改,包括 1 行新增0 行删除

查看文件

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