You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-05 15:22:09 +03:00
Fix effect of URL preview toggle not updating live (#8561)
* Remove unused state and fix canPeek * Fix effect of URL preview toggle not updating live * Remove stale context fields
This commit is contained in:
committed by
GitHub
parent
464eb93a44
commit
00984e4434
@@ -213,6 +213,7 @@ interface IEventIndexOpts {
|
||||
*/
|
||||
class TimelinePanel extends React.Component<IProps, IState> {
|
||||
static contextType = RoomContext;
|
||||
public context!: React.ContextType<typeof RoomContext>;
|
||||
|
||||
// a map from room id to read marker event timestamp
|
||||
static roomReadMarkerTsMap: Record<string, number> = {};
|
||||
@@ -242,6 +243,7 @@ class TimelinePanel extends React.Component<IProps, IState> {
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
this.context = context;
|
||||
|
||||
debuglog("mounting");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user