mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-04 16:25:08 +00:00
Fix on_edited_message not being correctly registered in plugins
This commit is contained in:
@@ -51,7 +51,7 @@ class OnEditedMessage:
|
|||||||
|
|
||||||
func.handlers.append(
|
func.handlers.append(
|
||||||
(
|
(
|
||||||
pyrogram.handlers.MessageHandler(func, self),
|
pyrogram.handlers.EditedMessageHandler(func, self),
|
||||||
group if filters is None else filters
|
group if filters is None else filters
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user