mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
Fix python bindings call to dc_chat_get_remaining_mute_duration
This commit is contained in:
committed by
link2xt
parent
801b9f3ffa
commit
da5796e8a6
@@ -137,7 +137,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_remaining_mute_duration(self.id))
|
||||
return lib.dc_chat_get_remaining_mute_duration(self._dc_chat)
|
||||
|
||||
def get_ephemeral_timer(self):
|
||||
""" get ephemeral timer.
|
||||
|
||||
Reference in New Issue
Block a user