Make space members and user info behave more expectedly
This commit is contained in:
parent
0d0eea392c
commit
d4bac4752d
4 changed files with 11 additions and 8 deletions
|
@ -269,7 +269,7 @@ export default class RightPanel extends React.Component<IProps, IState> {
|
|||
case RightPanelPhases.EncryptionPanel:
|
||||
panel = <UserInfo
|
||||
user={this.state.member}
|
||||
room={this.state.phase === RightPanelPhases.SpaceMemberInfo ? this.state.space : this.props.room}
|
||||
room={this.context.getRoom(this.state.member.roomId) ?? this.props.room}
|
||||
key={roomId || this.state.member.userId}
|
||||
onClose={this.onClose}
|
||||
phase={this.state.phase}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue