Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to register MUCs #17

Open
jplitza opened this issue Aug 31, 2021 · 0 comments
Open

Add possibility to register MUCs #17

jplitza opened this issue Aug 31, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@jplitza
Copy link
Owner

jplitza commented Aug 31, 2021

Some regional MUCs might want to have the warnings directly in the MUC. The idea to authorize the (un)registration would be the following:

  1. Someone invites the bot to the MUC
  2. The bot joins the MUC and receives the list of members, in particular the list of MUC administrators
  3. An administrator sends the bot a registration command via its MUC JID ([email protected]/nina)
  4. The bot stores the additional information that this is a MUC registration and hence rejoins the MUC after restart.

Optionally, one could implement a "timeout" for 3. to occur, so that the bot actively leaves the MUC if no registration occurred (vs. on restart, since it doesn't even store the MUC persistently without the registration command)

@jplitza jplitza added the enhancement New feature or request label Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant