Make read receipts handle nullable roomMembers correctly (#8410)
* make readReceipt roomMember nullable, as it should be * add fallback click interaction for read receipts of unknown users
This commit is contained in:
parent
a70f11704f
commit
e7c91397f1
4 changed files with 11 additions and 6 deletions
|
@ -31,7 +31,7 @@ export interface IReadReceiptInfo {
|
|||
|
||||
interface IProps {
|
||||
// the RoomMember to show the RR for
|
||||
member?: RoomMember;
|
||||
member?: RoomMember | null;
|
||||
// userId to fallback the avatar to
|
||||
// if the member hasn't been loaded yet
|
||||
fallbackUserId: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue