mirror of
https://github.com/status-im/status-go.git
synced 2025-01-21 12:11:44 +00:00
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…
x
Reference in New Issue
Block a user