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

Refactor add-muc modal #3586

Merged
merged 6 commits into from
Feb 12, 2025
Merged

Refactor add-muc modal #3586

merged 6 commits into from
Feb 12, 2025

Conversation

jcbrand
Copy link
Member

@jcbrand jcbrand commented Feb 12, 2025

No description provided.

The `id` attr of the xmpp-status obj gets passed in when opening a chat
with our own JID, which causes problems because the JID should be the
`id`.
- Escape JID before creating a new MUC
- Allow adding/entering a MUC by specifying only a name
    If no MUC service is provided, we fetch the default service and use that.
- Add validation for the MUC name/jid
- Add test for the muc_roomid_policy setting
- Create normalized MUC JID when only a name is provided
@jcbrand jcbrand force-pushed the jcbrand/refactor-add-muc-modal branch from 8234206 to 68243ab Compare February 12, 2025 09:55
src/headless/plugins/disco/api.js Fixed Show fixed Hide fixed
src/plugins/muc-views/modals/add-muc.js Fixed Show fixed Hide fixed
src/shared/autocomplete/component.js Fixed Show fixed Hide fixed
@jcbrand jcbrand force-pushed the jcbrand/refactor-add-muc-modal branch from 68243ab to f624fd3 Compare February 12, 2025 10:01
@jcbrand jcbrand merged commit c13dcd8 into master Feb 12, 2025
4 checks passed
@jcbrand jcbrand deleted the jcbrand/refactor-add-muc-modal branch February 12, 2025 10:09
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.

1 participant