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

Neither user JID or default server admin setting is respected in create new room dialog #1232

Open
poVoq opened this issue Oct 1, 2023 · 2 comments

Comments

@poVoq
Copy link

poVoq commented Oct 1, 2023

The create a chatroom dialog pre-fills the "Chatroom ID" field with the MUC component domain from another vhost on my xmpp server that is unrelated to the user trying to create the room and also not mentioned as the default xmpp server in the Movim admin settings.

This is quite confusing for new users trying to create rooms, as they do not have permission to create rooms on that unrelated muc component.

This might be something in my ejabberd configuration, but I think it would be best if Movim would always suggest the muc component domain of the user's home server as they are most likely to have permission to create new rooms there.

@edhelas
Copy link
Member

edhelas commented Oct 6, 2023

From what I see in the sourcecode the default servers are actually guessed from the user account host. So I'd need a real case to be able to reproduce it. If for example you have a Movim instance AND XMPP account where you have the issue.

@poVoq
Copy link
Author

poVoq commented Oct 6, 2023

Is it possible that it takes the domain from the very first user that ever logged in instead?

I originally tested it with an account from another vHost as the initial user/admin and now all accounts seem to default to that user's muc component domain, despite being on a different vHost.

You can sign up on https://slrpnk.net for the combined XMPP & Lemmy account and it will work on https://movim.slrpnk.net where you should be able to see the issue when trying to create a new room.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants