Fix main timeline pending events bleeding in thread's timeline (#7373)
This commit is contained in:
parent
1e09599447
commit
69c4a0cebc
4 changed files with 14 additions and 6 deletions
|
@ -513,7 +513,7 @@ export default class EventTile extends React.Component<IProps, IState> {
|
|||
const room = this.context.getRoom(this.props.mxEvent.getRoomId());
|
||||
const notifications = RoomNotificationStateStore.instance.getThreadsRoomState(room);
|
||||
|
||||
this.threadState = notifications.threadsState.get(thread);
|
||||
this.threadState = notifications.getThreadRoomState(thread);
|
||||
|
||||
this.threadState.on(NotificationStateEvents.Update, this.onThreadStateUpdate);
|
||||
this.onThreadStateUpdate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue