Unhide display names when switching back to modern layout (#7601)
This commit is contained in:
parent
a2f1e856be
commit
cb152a575d
1 changed files with 4 additions and 0 deletions
|
@ -289,6 +289,10 @@ export default class MessagePanel extends React.Component<IProps, IState> {
|
|||
}
|
||||
|
||||
componentDidUpdate(prevProps, prevState) {
|
||||
if (prevProps.layout !== this.props.layout) {
|
||||
this.calculateRoomMembersCount();
|
||||
}
|
||||
|
||||
if (prevProps.readMarkerVisible && this.props.readMarkerEventId !== prevProps.readMarkerEventId) {
|
||||
const ghostReadMarkers = this.state.ghostReadMarkers;
|
||||
ghostReadMarkers.push(prevProps.readMarkerEventId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue