From f5b0d2b5d5a3315b10b1aa3ab404971526e99bf8 Mon Sep 17 00:00:00 2001 From: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com> Date: Tue, 20 Jul 2021 19:34:31 -0500 Subject: [PATCH] Remove unused expiration-change event --- ts/messageModifiers/ReadSyncs.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ts/messageModifiers/ReadSyncs.ts b/ts/messageModifiers/ReadSyncs.ts index bbc58c46684..847d1544172 100644 --- a/ts/messageModifiers/ReadSyncs.ts +++ b/ts/messageModifiers/ReadSyncs.ts @@ -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);