grou[ invite also gets random local id

Bu işleme şunda yer alıyor:
Dan Ballard 2019-02-04 11:53:42 -08:00
ebeveyn 742d36734b
işleme 4d11547393
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme

Dosyayı Görüntüle

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