We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e77a3f5 commit a4cb8b3Copy full SHA for a4cb8b3
1 file changed
pyrogram/methods/chats/update_chat_notifications.py
@@ -77,9 +77,6 @@ async def update_chat_notifications(
77
if not mute_until:
78
mute_until = utils.max_datetime() if mute else utils.zero_datetime()
79
80
- if isinstance(mute_until, timedelta):
81
- mute_until = datetime.now() + mute_until
82
-
83
r = await self.invoke(
84
raw.functions.account.UpdateNotifySettings(
85
peer=raw.types.InputNotifyPeer(peer=await self.resolve_peer(chat_id)),
0 commit comments