Get current moderator in the room using lib-jitsi-meet

Hi,
I’m using Jitsi meet default deployment and lib jitsi meet. I need to display the real time current moderator for all the participants, on the UI side. Is there a method like this.room.getCurrentModerator or something similar?
Thank you.

You can do something like: room.getParticipants().filter(p => p.isModerator())

1 Like

That’ll work. Thanks Damian.