mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-24 19:07:37 +00:00
🚑️ hotfix: Conversation Parse Chat Id Bug
This commit is contained in:
parent
c28eddaa4d
commit
d0b25d41b7
@ -78,7 +78,7 @@ class Conversation:
|
||||
elif isinstance(self._peer_chat, InputPeerChat):
|
||||
self._chat_id = self._peer_chat.chat_id
|
||||
elif isinstance(self._peer_chat, InputPeerChannel):
|
||||
self._chat_id = self._peer_chat.channel_id
|
||||
self._chat_id = -1000000000000 - self._peer_chat.channel_id
|
||||
|
||||
if self._client.listening.get(self._chat_id, False):
|
||||
raise AlreadyInConversationError()
|
||||
|
Loading…
Reference in New Issue
Block a user