Merge pull request #2906 from Bilb/fix-emoji-react-syncing

fix: use network time for emoji reacts syncing
pull/2910/head
Audric Ackermann 10 months ago committed by GitHub
commit fbbb67ea47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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