Browse Source

Fixing unitialized map

group-map-fix
Sarah Jamie Lewis 1 year ago
parent
commit
84a10a9f5e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      model/profile.go

+ 1
- 0
model/profile.go 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)
}



Loading…
Cancel
Save