Update src/components/views/right_panel/UserInfo.tsx

Co-authored-by: Travis Ralston <travpc@gmail.com>
pull/21833/head
Michael Telatynski 2020-10-06 22:49:50 +01:00 committed by GitHub
parent 0bb26831ae
commit 2e45374cf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 = (
<AccessibleButton onClick={onReadReceiptButton} className="mx_UserInfo_field">
{ _t('Jump to read receipt') }