1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

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

Co-authored-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
Michael Telatynski
2020-10-06 22:49:50 +01:00
committed by GitHub
parent 0bb26831ae
commit 2e45374cf8

View File

@@ -370,7 +370,7 @@ const UserOptionsSection: React.FC<{
}; };
const room = cli.getRoom(member.roomId); const room = cli.getRoom(member.roomId);
if (room && room.getEventReadUpTo(member.userId)) { if (room?.getEventReadUpTo(member.userId)) {
readReceiptButton = ( readReceiptButton = (
<AccessibleButton onClick={onReadReceiptButton} className="mx_UserInfo_field"> <AccessibleButton onClick={onReadReceiptButton} className="mx_UserInfo_field">
{ _t('Jump to read receipt') } { _t('Jump to read receipt') }