fix: use network time for emoji reacts syncing

pull/2906/head
Audric Ackermann 2 years ago
parent dec848815a
commit 592d1f010f

@ -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(),
};

Loading…
Cancel
Save