forked from cwtch.im/cwtch
1
0
Fork 0

Fixing unitialized map

This commit is contained in:
Sarah Jamie Lewis 2019-02-05 10:58:14 -08:00
parent 58535b0eb6
commit 84a10a9f5e
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)
}