up
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user