rename dc_chat_get_mute_duration

to dc_chat_get_remaining_mute_duration
This commit is contained in:
Simon Laux
2020-02-08 13:07:43 +01:00
parent e04d28c885
commit 1fb75c1af3
3 changed files with 4 additions and 4 deletions

View File

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