From 2e45374cf8dec139bea00fd3f28d0d76f4f0c049 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 6 Oct 2020 22:49:50 +0100 Subject: [PATCH] Update src/components/views/right_panel/UserInfo.tsx Co-authored-by: Travis Ralston --- src/components/views/right_panel/UserInfo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/right_panel/UserInfo.tsx b/src/components/views/right_panel/UserInfo.tsx index 12806766e7..807bd27796 100644 --- a/src/components/views/right_panel/UserInfo.tsx +++ b/src/components/views/right_panel/UserInfo.tsx @@ -370,7 +370,7 @@ const UserOptionsSection: React.FC<{ }; const room = cli.getRoom(member.roomId); - if (room && room.getEventReadUpTo(member.userId)) { + if (room?.getEventReadUpTo(member.userId)) { readReceiptButton = ( { _t('Jump to read receipt') }