Skip to content

Fix missing character before a Matrix ID

Claire requested to merge blankeclair/neochat:show-character-behind-mxid into master

When you send messages like "a @blankeclair:catgirl.cloud b" or "]#rainversewiki:catgirl.cloud", they would be rendered like "a@blankeclair:catgirl.cloud b" and "#rainversewiki:catgirl.cloud" respectively. This commit fixes that by not matching the character before the MXID in the regex.

(This commit was created and tested for v24.08.0 since master requires updated dependencies that I didn't want to bother installing, but I git stash-ed it from v24.08.0 and git stash pop-ed it onto master cleanly, so it should work)

Merge request reports

Loading