Skip to content

Commit

Permalink
fix: Empty action on the 3 dots of a user when videoconferencing deac…
Browse files Browse the repository at this point in the history
…tivated - EXO-76187. (#341)

Before this change, when deactivate Jitsi and external videoconference in the administration and check on any field which is group synchronized then click on the 3 dots of a user in the results, empty place where I'm should have the videoconference option. To resolve this problem, add a check condition if Jitsi is initialized in the  extension. After this change, if jitsi is disabled menu action is only display the available options without empty space.

(cherry picked from commit a8191a7)
  • Loading branch information
akhanfir authored and Jihed525 committed Jan 13, 2025
1 parent 8e39db4 commit f78c573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/main/webapp/js/webconferencing-call-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
// enabled just show that this extension is enabled, if enabled: false WebConferencingCallComponent will not appear on page
enabled: function(element) {
//return true only if the extension is used for a user card. We dont want it on a space card for the moment
return element?.username && element?.username !== eXo.env.portal.userName;
return element?.username && element?.username !== eXo.env.portal.userName && eXo.webConferencing.jitsi.isInitialized;
}
},
{
Expand Down

0 comments on commit f78c573

Please sign in to comment.