mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Support exclusive conversations by default
This commit is contained in:
@@ -283,6 +283,10 @@ class UpdateMethods(UserMethods):
|
||||
|
||||
try:
|
||||
await callback(event)
|
||||
except errors.AlreadyInConversationError:
|
||||
name = getattr(callback, '__name__', repr(callback))
|
||||
__log__.debug('Event handler "%s" already has an open '
|
||||
'conversation, ignoring new one', name)
|
||||
except events.StopPropagation:
|
||||
name = getattr(callback, '__name__', repr(callback))
|
||||
__log__.debug(
|
||||
|
Reference in New Issue
Block a user