mirror of https://github.com/vector-im/riot-web
pull/21833/head
parent
53019c5e91
commit
3a399e18fc
|
@ -1115,7 +1115,7 @@ const UserInfo = withLegacyMatrixClient(({matrixClient: cli, user, groupId, room
|
||||||
let presenceCurrentlyActive;
|
let presenceCurrentlyActive;
|
||||||
let statusMessage;
|
let statusMessage;
|
||||||
|
|
||||||
if (user instanceof RoomMember) {
|
if (user instanceof RoomMember && user.user) {
|
||||||
presenceState = user.user.presence;
|
presenceState = user.user.presence;
|
||||||
presenceLastActiveAgo = user.user.lastActiveAgo;
|
presenceLastActiveAgo = user.user.lastActiveAgo;
|
||||||
presenceCurrentlyActive = user.user.currentlyActive;
|
presenceCurrentlyActive = user.user.currentlyActive;
|
||||||
|
|
Loading…
Reference in New Issue