matrix-org / matrix-org/matrix-bifrost

xmpp-js unable to join a MUC from matrix

Open
#111 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

T-Defect
Dominant language
TypeScript
Stars
187
Forks
38
PR merge metrics
No merged PRs in 30d

Description

I am trying to join an XMPP MUC:
room name: test
MUC domain: con.xmpp.example.com
Matrix domain: matrix.example.com

So the room name should be:
#_xmpp_con.xmpp.example.com_test:matrix.example.com

if I understand the wiki correctly.

If I try that I only get an error in riot that it is not a valid room name.
Continuing anyway gives an error in the synapse logs (epexted "!" prefix)

The relevant config file part (registration.yaml) is:
```
namespaces:
users:
- exclusive: true
regex: '@_xmpp_.*'
aliases:
- exclusive: true
regex: '#_xmpp_.*'
rooms: []
```

Any hints would be appreciated.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the registration.yaml namespaces shown in the issue, then reproduce the alias in Riot and inspect the corresponding Synapse log error. Compare the documented XMPP MUC room naming with the configured alias pattern; done means the room alias is accepted and joining the MUC succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.