Skip to content

Conversation

@jaywink
Copy link
Member

@jaywink jaywink commented Jan 28, 2021

Adds hooks to room creation to:

  1. Allow setting owner of room only via this plugin (stops Jitsi auto-ownering when owners drop out)

  2. Set owner for anyone based on the session.auth_matrix_user_verification_is_owner value, which is set when the user authenticates. Should it not exist, the user is a normal member.

Rewrites mod_matrix_power_sync.lua based on https://github.com/nvonahsen/jitsi-token-moderation-plugin/blob/a5ebdfaa38a6adde6bceba62cfbc5b1693e480b9/mod_token_moderation.lua

Adds hooks to room creation to:

1) Allow setting owner of room only via this plugin (stops Jitsi auto-ownering when owners drop out)

2) Set owner for anyone based on the session.auth_matrix_user_verification_is_owner value, which is set when the user authenticates. Should it not exist, the user is a normal member.

Rewrites mod_matrix_power_sync.lua based on https://github.com/nvonahsen/jitsi-token-moderation-plugin/blob/a5ebdfaa38a6adde6bceba62cfbc5b1693e480b9/mod_token_moderation.lua
Copy link

@Half-Shot Half-Shot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jaywink jaywink merged commit 269adfe into master Feb 5, 2021
@jaywink jaywink deleted the jaywink/better-moderator-control branch February 5, 2021 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants