Skip to content
This repository was archived by the owner on Oct 29, 2025. It is now read-only.

Commit 8144d22

Browse files
committed
use is_multiuser() instead of is_group()
1 parent a97e587 commit 8144d22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def test_logout(self, mocker, requests_mock) -> None:
2424
def test_filter(self, mocker, requests_mock) -> None:
2525
self._requests_mock(requests_mock)
2626
for msg in mocker.get_replies("/login https://write.as token"):
27-
if msg.chat.is_group():
27+
if msg.chat.is_multiuser():
2828
chat = msg.chat
2929
break
3030
msgs = mocker.get_replies("blog post", filters="simplebot_writefreely")

0 commit comments

Comments
 (0)