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
+1 -1
View File
@@ -253,7 +253,7 @@ class WhatsAppWebhook {
// Try to update the referenced message (by message_id or id)
$updated = $this->db->update(
'conversations',
['reaction_emoji' => $emoji, 'reaction_to_message_id' => $reactionTo, 'updated_at' => date('Y-m-d H:i:s')],
['reaction_emoji' => $emoji, 'reaction_to_message_id' => $reactionTo],
'message_id = :mid OR id = :mid',
['mid' => $reactionTo]
);