Edit Message: Update only conversation list timestamp, don't re-sort

This commit is contained in:
Scott Nonnenberg 2024-06-24 14:47:19 -07:00 committed by GitHub
parent 4e3c79fe25
commit fd1584c8ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4210,13 +4210,9 @@ export class ConversationModel extends window.Backbone
activityMessage.get('sent_at') ||
timestamp;
lastMessageReceivedAt =
activityMessage.get('editMessageReceivedAt') ||
activityMessage.get('received_at') ||
lastMessageReceivedAt;
activityMessage.get('received_at') || lastMessageReceivedAt;
lastMessageReceivedAtMs =
activityMessage.get('editMessageReceivedAtMs') ||
activityMessage.get('received_at_ms') ||
lastMessageReceivedAtMs;
activityMessage.get('received_at_ms') || lastMessageReceivedAtMs;
}
const notificationData = previewMessage?.getNotificationData();