diff --git a/lib/TelegramBot.pm b/lib/TelegramBot.pm index 4039872..45b6be4 100644 --- a/lib/TelegramBot.pm +++ b/lib/TelegramBot.pm @@ -265,6 +265,11 @@ sub __on_msg { return; } + if ($msg->can ('old_reaction') || $msg->can ('new_reaction')) { + $log->debug (sprintf ('[DEBUG] user %s in %s posts reaction to message', $highlight, $chatname)); + return; + } + # is this a 1-on-1 ? if ($msg->chat->type eq 'private') { unless (defined $msg->text) {