This commit is contained in:
Lizandro Guarnizo
2026-01-25 21:48:56 -05:00
parent 89fde25a6e
commit e2c8fc994a
3 changed files with 6 additions and 2 deletions
+2 -1
View File
@@ -49,7 +49,8 @@ try {
// Registrar la reacción en el mensaje objetivo (no crear un nuevo "reaction" como mensaje saliente)
try {
$update = ['reaction_emoji' => $emoji, 'reaction_to_message_id' => $message_id, 'updated_at' => date('Y-m-d H:i:s')];
// Avoid updating `updated_at` because older schemas may not have it
$update = ['reaction_emoji' => $emoji, 'reaction_to_message_id' => $message_id];
// If send failed, optionally record a status on target (not mandatory)
if (!$resp) $update['reaction_status'] = 'failed';