nvonahsen / jitsi-token-moderation-plugin

Lua plugin for jitsi which determines whether users are moderator or not based on token contents
MIT License
167 stars 96 forks source link

Make admin users room owners even without token #10

Closed GeoffRichards closed 4 years ago

GeoffRichards commented 4 years ago

It may be important that the 'focus' Jicofo user can be an owner in addition to people with moderator tokens. Without that, if the moderator leaves the room (eg looses connection) then another user will be made the new moderator, even if their token doesn't say they should be. This change allows the focus user to be the owner so that won't happen, so long as they're in the 'admins' setting in the Prosody configuration.