element-hq / element-hq/element-ios

ZWSP is shown as ​

Open
#4,425 1 comment 1 reaction 0 assignees View on GitHub
A-Timeline O-Occasional S-Minor T-Defect
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

**Describe the bug**

Since https://github.com/matrix-org/matrix-appservice-irc/pull/1366 matrix-appservice-irc doesn't strip ZWSPs and thus Matrix users through IRC bridged relaybots may look weird.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to `#test:matrix.org` and https://web.libera.chat/#matrix-test
2. Copy-Paste `2021-162 17:24:12 EEST <@T4> M​ikaela/Etro: meow-meow choco-chow` (or other ZWSP) to the second link
3. Look at `#test:matrix.org` on Element iOS
4. See a mysterious `​` instead of nothing special in the message.

**Expected behavior**

Not seeing ZWSP as it's supposed to be invisible.

**Screenshots**

The sample message in both Element iOS and Element Web in that order.

* ![Element iOS](https://matrix.feneas.org/_matrix/media/r0/download/matrix.feneas.org/63ef350c2321d749e96d7249c7b160c7b2aa937f)
* ![Element Web](https://matrix.feneas.org/_matrix/media/r0/download/matrix.feneas.org/0d4a99f2486d289d6ca28d641994a89d8b881cca)

**Smartphone (please complete the following information):**
- Device: iPhone SE2020
- OS: iOS 14.6
- Browser: stock Safari
- Version: iOS 14.6?

**Additional context**

Using ZWSP is common behaviour in IRC relaybots to avoid self-pinging when on multiple sides of the relay.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.