Fixing unitiliazed map in group invites #212

Merged
dan merged 1 commits from group-map-fix into master 2019-02-05 19:01:46 +00:00
1 changed files with 1 additions and 0 deletions

View File

@ -284,6 +284,7 @@ func (p *Profile) ProcessInvite(gci *protocol.GroupChatInvite, peerHostname stri
group.InitialMessage = gci.GetInitialMessage()[:]
group.Accepted = false
group.Owner = peerHostname
group.Attributes = make(map[string]string)
p.AddGroup(group)
}