Ignore group chat color when not specified (#2830)
This commit is contained in:
parent
2e51450393
commit
b87ecb206e
|
@ -268,7 +268,10 @@ func (c *Chat) updateChatFromGroupMembershipChanges(g *v1protocol.Group) {
|
|||
c.Name = g.Name()
|
||||
|
||||
// Color
|
||||
c.Color = g.Color()
|
||||
color := g.Color()
|
||||
if color != "" {
|
||||
c.Color = g.Color()
|
||||
}
|
||||
|
||||
// Members
|
||||
members := g.Members()
|
||||
|
|
Loading…
Reference in New Issue