Browse Source

Fix reaction animation

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

4
.env

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

6
src/lib/appManagers/appMessagesManager.ts

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

Loading…
Cancel
Save