Skip to content

Strip locked MUC domain from room address input #2311

Open
@mwild1

Description

@mwild1

Is your feature request related to a problem? Please describe.

  1. Deploy a configuration that has a locked MUC domain, e.g. muc.example.org
  2. Click Add a new groupchat
  3. Enter a room address like [email protected]
  4. The @ gets escaped and Converse.js attempts to join room\[email protected]

Describe the solution you'd like

If the input ends with @<locked domain> then it should be stripped before further processing.

Rationale

If the entered address ends with @<locked domain> it is almost certainly not the user's intention to have the full input as the room name, but means the user entered the full address of a room.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    MUCRelated to multi-user chats (MUC) / group chatsUXUser experiencebuggood first issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions