From 4478d0adea42d7f04b2a37069a7654264c44fee9 Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Tue, 2 Mar 2021 15:53:09 +1100 Subject: [PATCH] update delivery receipt on the leftpane when we get one --- js/delivery_receipts.js | 2 +- js/read_receipts.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/delivery_receipts.js b/js/delivery_receipts.js index b3522b015..a58f68636 100644 --- a/js/delivery_receipts.js +++ b/js/delivery_receipts.js @@ -105,7 +105,7 @@ .getConversationController() .get(message.get('conversationId')); if (conversation) { - conversation.trigger('delivered', message); + conversation.updateLastMessage() } this.remove(receipt); diff --git a/js/read_receipts.js b/js/read_receipts.js index 58b6c9209..00af1ecb6 100644 --- a/js/read_receipts.js +++ b/js/read_receipts.js @@ -106,7 +106,7 @@ .getConversationController() .get(message.get('conversationId')); if (conversation) { - conversation.trigger('read', message); + conversation.updateLastMessage() } this.remove(receipt);