RITlug / teleirc

Go implementation of a Telegram <=> IRC bridge for use with any IRC channel and Telegram group
https://docs.teleirc.com/
GNU General Public License v3.0
141 stars 45 forks source link

Zero width space (ZWSP) implementation is faulty #328

Closed Tjzabel closed 4 years ago

Tjzabel commented 4 years ago

Summary

The ZWSP is supposed to add an unseen space between letters in a username to prevent users across platform from pinging themselves. The implementation TeleIRC currently has is faulty; it does not achieve these desired results.

How to reproduce?

  1. Have the same username on both IRC & Telegram
  2. Send a message on one platform to another
  3. See yourself pinged

Expected behavior

Users who have the same username on IRC & Telegram should not inadvertently be pinging themselves.