Fix soft crash around the thread panel in degraded mode (#8261)

This commit is contained in:
Michael Telatynski 2022-04-08 14:26:41 +01:00 committed by GitHub
parent 0aa8b93c07
commit 9f8c208516
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -286,7 +286,7 @@ const ThreadPanel: React.FC<IProps> = ({
/>
{ timelineSet && (
<TimelinePanel
key={timelineSet.getFilter().filterId}
key={timelineSet.getFilter()?.filterId ?? (roomId + ":" + filterOption)}
ref={timelinePanel}
showReadReceipts={false} // No RR support in thread's MVP
manageReadReceipts={false} // No RR support in thread's MVP