[FIX] Initial users' status is not fetched (#2664)
This commit is contained in:
parent
10ba9d5138
commit
b61727c65c
|
@ -64,6 +64,10 @@ class RoomItemContainer extends React.Component {
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
this.mounted = true;
|
this.mounted = true;
|
||||||
|
const { connected, getUserPresence, id } = this.props;
|
||||||
|
if (connected && this.isDirect) {
|
||||||
|
getUserPresence(id);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
shouldComponentUpdate(nextProps) {
|
shouldComponentUpdate(nextProps) {
|
||||||
|
|
Loading…
Reference in New Issue