Merge pull request #19774 from bigbluebutton/antobinary-patch-2

fix(client): undefined currentUserAway
This commit is contained in:
Ramón Souza 2024-03-11 16:52:17 -03:00 committed by GitHub
commit 578daa130a
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,