fix(iframe_api): Display name command race condition
If executeCommand('displayName') is executed before Jitsi Meet
is fully initialized some listeners were not added and the
display name was not changed.
This commit is contained in:
@@ -45,7 +45,8 @@ let enabled = false;
|
||||
|
||||
function initCommands() {
|
||||
commands = {
|
||||
"display-name": APP.UI.inputDisplayNameHandler,
|
||||
"display-name":
|
||||
APP.conference.changeLocalDisplayName.bind(APP.conference),
|
||||
"toggle-audio": APP.conference.toggleAudioMuted.bind(APP.conference),
|
||||
"toggle-video": APP.conference.toggleVideoMuted.bind(APP.conference),
|
||||
"toggle-film-strip": APP.UI.toggleFilmStrip,
|
||||
|
||||
Reference in New Issue
Block a user