fix: use network time for emoji reacts syncing

This commit is contained in:
Audric Ackermann 2023-09-06 14:40:01 +10:00
parent dec848815a
commit 592d1f010f
1 changed files with 2 additions and 1 deletions

View File

@ -530,7 +530,8 @@ export class ConversationModel extends Backbone.Model<ConversationAttributes> {
// an OpenGroupV2 message is just a visible message
const chatMessageParams: VisibleMessageParams = {
body: '',
timestamp: sentAt,
// we need to use a new timestamp here, otherwise android&iOS will consider this message as a duplicate and drop the synced reaction
timestamp: GetNetworkTime.getNowWithNetworkOffset(),
reaction,
lokiProfile: UserUtils.getOurProfile(),
};