Open tadzik opened 3 years ago
Remote usernames with multibyte characters in them currently get encoded into mxids in a way that may result in information loss (see https://github.com/matrix-org/matrix-appservice-bridge/issues/346).
This makes it impossible to reach some users by MXID alone, so this makes it lookup the MXID in the user store, which contains the original, unmangled username.
Fixes GH-268.
The failing test doesn't look trivial. That should get fixed first.
Which test?
@tadzik: Have you progressed on your PR about @jaller94 comment?
@Half-Shot: What do you think?
Remote usernames with multibyte characters in them currently get encoded into mxids in a way that may result in information loss (see https://github.com/matrix-org/matrix-appservice-bridge/issues/346).
This makes it impossible to reach some users by MXID alone, so this makes it lookup the MXID in the user store, which contains the original, unmangled username.
Fixes GH-268.