fix: correct logic in `IsActivePersonalChat`
fixes: status-im/status-desktop#10030
This commit is contained in:
parent
e9482e3974
commit
6eb39eca75
|
@ -229,7 +229,7 @@ func (c *Chat) PrivateGroupChat() bool {
|
|||
}
|
||||
|
||||
func (c *Chat) IsActivePersonalChat() bool {
|
||||
return c.Active && (c.OneToOne() || c.PrivateGroupChat() && c.Public()) && c.CommunityID == ""
|
||||
return c.Active && (c.OneToOne() || c.PrivateGroupChat() || c.Public()) && c.CommunityID == ""
|
||||
}
|
||||
|
||||
func (c *Chat) CommunityChatID() string {
|
||||
|
|
Loading…
Reference in New Issue