From 277251aa83093ce681896e9db3c87a4c87fc51f6 Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Fri, 12 May 2023 10:48:01 +0200 Subject: [PATCH] Handle more primises --- src/components/structures/TimelinePanel.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/structures/TimelinePanel.tsx b/src/components/structures/TimelinePanel.tsx index 53beb54c56b..2140c5175e3 100644 --- a/src/components/structures/TimelinePanel.tsx +++ b/src/components/structures/TimelinePanel.tsx @@ -956,7 +956,7 @@ class TimelinePanel extends React.Component { continue; /* aborted */ } // outside of try/catch to not swallow errors - this.updateReadMarker(); + await this.updateReadMarker(); } } @@ -971,7 +971,7 @@ class TimelinePanel extends React.Component { continue; /* aborted */ } // outside of try/catch to not swallow errors - this.sendReadReceipts(); + await this.sendReadReceipts(); } }