Skip to content

Commit 2c39c99

Browse files
committed
#1288: Remove OR part in isGroupChat() method
1 parent aa85dba commit 2c39c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Entities/Chat.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function tryMention($escape_markdown = false): string
8989
*/
9090
public function isGroupChat(): bool
9191
{
92-
return $this->getType() === 'group' || $this->getId() < 0;
92+
return $this->getType() === 'group';
9393
}
9494

9595
/**

0 commit comments

Comments
 (0)