python: fix Chat.is_group() documentation

False is returned not only for 1:1 chat, but also in
other cases, such as mailing lists.
This commit is contained in:
link2xt
2022-05-21 15:41:59 +00:00
committed by holger krekel
parent b7d2828f60
commit 1d522edb01

View File

@@ -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