Remove unused expiration-change event

This commit is contained in:
Evan Hahn 2021-07-20 19:34:31 -05:00 committed by GitHub
parent e94eaf07a9
commit f5b0d2b5d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,11 +142,6 @@ export class ReadSyncs extends Collection {
Math.min(existingTimestamp || now, readAt || now)
);
message.set({ expirationStartTimestamp });
const conversation = message.getConversation();
if (conversation) {
conversation.trigger('expiration-change', message);
}
}
window.Signal.Util.queueUpdateMessage(message.attributes);