From 1f05c4223a9b0bbb982e1884fad3e3b2a7d85edc Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 8 Apr 2018 11:58:17 +0200 Subject: [PATCH] Fix copypasta --- pyrogram/client/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 0495fe56..ca737f2f 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -192,6 +192,7 @@ class Client: def on_message(self, group: int = 0): def decorator(f): self.add_handler(pyrogram.MessageHandler(f), group) + return f return decorator