mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 13:36:30 +03:00
rename dc_chat_get_mute_duration
to dc_chat_get_remaining_mute_duration
This commit is contained in:
@@ -123,7 +123,7 @@ class Chat(object):
|
||||
:param duration:
|
||||
:returns: Returns the number of seconds the chat is still muted for. (0 for not muted, -1 forever muted)
|
||||
"""
|
||||
return bool(lib.dc_chat_get_mute_duration(self.id))
|
||||
return bool(lib.dc_chat_get_remaining_mute_duration(self.id))
|
||||
|
||||
def get_type(self):
|
||||
""" return type of this chat.
|
||||
|
||||
Reference in New Issue
Block a user