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:
Janne Mareike Koschinski
2022-04-26 12:35:05 +02:00
committed by GitHub
parent a70f11704f
commit e7c91397f1
4 changed files with 11 additions and 6 deletions

View File

@@ -96,7 +96,7 @@ export type GetRelationsForEvent = (eventId: string, relationType: string, event
export interface IReadReceiptProps {
userId: string;
roomMember: RoomMember;
roomMember: RoomMember | null;
ts: number;
}