You've already forked matrix-react-sdk
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:
committed by
GitHub
parent
0bb26831ae
commit
2e45374cf8
@@ -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') }
|
||||||
|
|||||||
Reference in New Issue
Block a user