feat(visitors): Updates mobile to handle redirected conf error. (#13110)

* feat(visitors): Updates mobile to handle redirected conf error.

* squash: Center the buttons when iAmVisitor.

* squash: Enables chat in visitor mode.

* feat: Prints the used lib-jitsi-meet.

* feat: Shows a notification when joining as a visitor.

* fix(notifications): display and fix styles for notifications in tile view

---------

Co-authored-by: Calin-Teodor <calin.chitu@8x8.com>
This commit is contained in:
Дамян Минков
2023-03-28 08:08:56 -05:00
committed by GitHub
parent ba57b1afff
commit 649a4ffd46
14 changed files with 150 additions and 33 deletions

View File

@@ -224,12 +224,13 @@ function _mapStateToProps(state, ownProps) {
const _currentRoomId = getCurrentRoomId(state);
const shouldDisableKick = disableKick || !kickOutEnabled;
const moderator = isLocalParticipantModerator(state);
const _iAmVisitor = state['features/visitors'].iAmVisitor;
return {
_currentRoomId,
_disableKick: Boolean(shouldDisableKick),
_disableRemoteMute: Boolean(disableRemoteMute),
_disablePrivateChat: Boolean(disablePrivateChat),
_disablePrivateChat: Boolean(disablePrivateChat) || _iAmVisitor,
_isParticipantAvailable: Boolean(isParticipantAvailable),
_moderator: moderator,
_participantDisplayName: getParticipantDisplayName(state, participantId),