Fixing unitialized map
This commit is contained in:
parent
58535b0eb6
commit
84a10a9f5e
|
@ -284,6 +284,7 @@ func (p *Profile) ProcessInvite(gci *protocol.GroupChatInvite, peerHostname stri
|
||||||
group.InitialMessage = gci.GetInitialMessage()[:]
|
group.InitialMessage = gci.GetInitialMessage()[:]
|
||||||
group.Accepted = false
|
group.Accepted = false
|
||||||
group.Owner = peerHostname
|
group.Owner = peerHostname
|
||||||
|
group.Attributes = make(map[string]string)
|
||||||
p.AddGroup(group)
|
p.AddGroup(group)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue