Reactions: Fix reaction effect not playing in group chat (#2399)

This commit is contained in:
Alexander Zinchuk 2023-01-28 02:16:28 +01:00
parent d9792cb754
commit 35bf02107e

View File

@ -212,7 +212,7 @@ addActionHandler('apiUpdate', (global, actions, update): ActionReturnType => {
}
if (message.reactions && chat) {
global = updateReactions(global, chatId, id, message.reactions, chat, message.isOutgoing, currentMessage);
global = updateReactions(global, chatId, id, message.reactions, chat, newMessage.isOutgoing, currentMessage);
}
setGlobal(global);