From b61727c65c48b2adbcd405a762805a7525786528 Mon Sep 17 00:00:00 2001 From: zaphod534 <32894570+zaphod534@users.noreply.github.com> Date: Tue, 1 Dec 2020 12:19:37 +0100 Subject: [PATCH] [FIX] Initial users' status is not fetched (#2664) --- app/presentation/RoomItem/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/presentation/RoomItem/index.js b/app/presentation/RoomItem/index.js index 665b938f3..d38c1f687 100644 --- a/app/presentation/RoomItem/index.js +++ b/app/presentation/RoomItem/index.js @@ -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) {