Ignore group chat color when not specified (#2830)

This commit is contained in:
Roman Volosovskyi 2022-08-31 18:13:18 +02:00 committed by GitHub
parent 2e51450393
commit b87ecb206e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -1 +1 @@
0.107.0
0.107.1

View File

@ -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()