fix(client): undefined currentUserAway

This commit is contained in:
Anton Georgiev 2024-03-11 09:50:23 -04:00 committed by GitHub
parent e1e00ea24d
commit c69b79872b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -298,8 +298,8 @@ export default withTracker(() => {
isPhone: deviceInfo.isPhone,
isRTL: document.documentElement.getAttribute('dir') === 'rtl',
currentUserEmoji: currentUserEmoji(currentUser),
currentUserAway: currentUser.away,
currentUserRaiseHand: currentUser.raiseHand,
currentUserAway: currentUser?.away,
currentUserRaiseHand: currentUser?.raiseHand,
randomlySelectedUser,
currentUserId: currentUser?.userId,
isPresenter,