From 1d522edb0130655c95db473915cef0d1cbe29744 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 21 May 2022 15:41:59 +0000 Subject: [PATCH] python: fix Chat.is_group() documentation False is returned not only for 1:1 chat, but also in other cases, such as mailing lists. --- python/src/deltachat/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/deltachat/chat.py b/python/src/deltachat/chat.py index 3574c1670..501d22e1a 100644 --- a/python/src/deltachat/chat.py +++ b/python/src/deltachat/chat.py @@ -64,7 +64,7 @@ class Chat(object): def is_group(self) -> bool: """ return true if this chat is a group chat. - :returns: True if chat is a group-chat, false if it's a contact 1:1 chat. + :returns: True if chat is a group-chat, false otherwise """ return lib.dc_chat_get_type(self._dc_chat) == const.DC_CHAT_TYPE_GROUP