I have nothing to do with chat reactions, so log it and skip

This commit is contained in:
eleksir
2025-05-08 17:20:50 +03:00
parent 6e76d85899
commit 59a1a3538b

View File

@@ -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) {