Browse Source

Fix reaction animation

master
Eduard Kuzmenko 3 years ago
parent
commit
00f5a634a4
  1. 4
      .env
  2. 4
      src/lib/appManagers/appMessagesManager.ts

4
.env

@ -1,5 +1,5 @@
API_ID=1025907 API_ID=1025907
API_HASH=452b0359b988148995f22ff0f4229750 API_HASH=452b0359b988148995f22ff0f4229750
VERSION=1.4.0 VERSION=1.4.0
VERSION_FULL=1.4.0 (138) VERSION_FULL=1.4.0 (139)
BUILD=138 BUILD=139

4
src/lib/appManagers/appMessagesManager.ts

@ -4730,11 +4730,11 @@ export class AppMessagesManager {
} }
} }
message.reactions = reactions;
const key = message.peerId + '_' + message.mid; const key = message.peerId + '_' + message.mid;
this.pushBatchUpdate('messages_reactions', this.batchUpdateReactions, key, () => copy(message.reactions)); this.pushBatchUpdate('messages_reactions', this.batchUpdateReactions, key, () => copy(message.reactions));
message.reactions = reactions;
if(!update.local) { if(!update.local) {
this.setDialogToStateIfMessageIsTop(message); this.setDialogToStateIfMessageIsTop(message);
} }

Loading…
Cancel
Save