#17784·jitsi-meet

iframe API: toggleLobby expects target state but does not know current state

Author: mbgonicusCreated Sep 4, 2026Updated Sep 16, 2026

What happened?

The iframe API has two categories of how to work with commands.

It either has a setter to set a specific target state, but also provides getter/events for the current state.

Or it has a simple toggle function which toggles the state in the backend, but exposes no information about the current state.

Now, the toggleLobby command requires a specific target state, but has no information about the current state (i.e. if lobby is enabled or not in the current room).

I suggest to either drop the target state parameter from toggleLobby or provide a get function and event such that the client can be aware of the current state.

Platform

  • Chrome (or Chromium based)
  • Firefox
  • Safari
  • Other desktop browser
  • Android browser
  • iOS browser
  • Electron app
  • Android mobile app
  • iOS mobile app
  • Custom app using a mobile SDK

Browser / app / sdk version

current jitsi meet

Relevant log output

bash

Reproducibility

  • The problem is reproducible on meet.jit.si

More details?

No response