Open erdnaxe opened 3 years ago
This is hard :(
The bridge is not spec compliant because it allows characters in the ghost names which should not be present in a Matrix ID, (such as [
, ]
). Synapse allows the bridge to use these characters because it's been left in for legacy reasons, but Dendrite is spec compliant and does not.
The fix is for the bridge to encode these usernames in such a way that we can work with spec complaint bridges. In the meantime, perhaps you can approach the Dendrite developers on this one?
Describe the bug
I am getting M_INVALID_USERNAME errors when joining a bridging a IRC room with membershipLists synced
(
[DOMAIN]
is my domain name that I removed from the logs)Configuration
The appservice works and I am able to send and receive messages from both ends. The appservice bot user is buggy (can not invite and does not respond to !help), but I believe that's a separate issue.
Expected behavior I would expect the appservice to normalize IRC usernames to make them fit the Matrix constraints.
Server: