[FIX] Initial users' status is not fetched (#2664)

This commit is contained in:
zaphod534 2020-12-01 12:19:37 +01:00 committed by GitHub
parent 10ba9d5138
commit b61727c65c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -64,6 +64,10 @@ class RoomItemContainer extends React.Component {
componentDidMount() {
this.mounted = true;
const { connected, getUserPresence, id } = this.props;
if (connected && this.isDirect) {
getUserPresence(id);
}
}
shouldComponentUpdate(nextProps) {