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, isPhone: deviceInfo.isPhone,
isRTL: document.documentElement.getAttribute('dir') === 'rtl', isRTL: document.documentElement.getAttribute('dir') === 'rtl',
currentUserEmoji: currentUserEmoji(currentUser), currentUserEmoji: currentUserEmoji(currentUser),
currentUserAway: currentUser.away, currentUserAway: currentUser?.away,
currentUserRaiseHand: currentUser.raiseHand, currentUserRaiseHand: currentUser?.raiseHand,
randomlySelectedUser, randomlySelectedUser,
currentUserId: currentUser?.userId, currentUserId: currentUser?.userId,
isPresenter, isPresenter,