2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 05:18:10 +00:00

Fix on_edited_message not being correctly registered in plugins

This commit is contained in:
Dan 2022-04-25 17:27:36 +02:00
parent 43e08d4143
commit 7992549386

View File

@ -51,7 +51,7 @@ class OnEditedMessage:
func.handlers.append(
(
pyrogram.handlers.MessageHandler(func, self),
pyrogram.handlers.EditedMessageHandler(func, self),
group if filters is None else filters
)
)