From: Ferass El Hafidi <vitali64pmem...@protonmail.com>

Previously, the bridge used the following format for bridging messages:

        <SIC> H|f_| hello

which confused some users. This format was chosen because it prevented
clients from generating a ping. However, matterbridge now has
{NOPINGNICK} to take care of that.

With this commit, the bridge now uses the following format:

        <SIC> <f_@H> hello

and uses {NOPINGNICK} instead of {NICK}, which inserts a zero-width
space inside the nickname. Also colourise nicks so that it looks nicer.

Signed-off-by: Ferass El Hafidi <vitali64pmem...@protonmail.com>
---
 matterbridge.toml.example | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/matterbridge.toml.example b/matterbridge.toml.example
index 4e2e8a0..81c03d7 100644
--- a/matterbridge.toml.example
+++ b/matterbridge.toml.example
@@ -8,7 +8,8 @@
     UseSASL=true
     SkipTLSVerify=false
     Label="H"
-    RemoteNickFormat="{LABEL}|{NICK}| "
+    ColorNicks=true
+    RemoteNickFormat="<{NOPINGNICK}@{LABEL}> "
 
     [irc.liberachat]
     Nick="SIC"
@@ -19,7 +20,8 @@
     UseSASL=true
     SkipTLSVerify=false
     Label="L"
-    RemoteNickFormat="{LABEL}|{NICK}| "
+    ColorNicks=true
+    RemoteNickFormat="<{NOPINGNICK}@{LABEL}> "
     
     [irc.OFTC]
     Nick="SIC"
@@ -29,7 +31,8 @@
     UseTLS=true
     SkipTLSVerify=false
     Label="O"
-    RemoteNickFormat="{LABEL}|{NICK}| "
+    ColorNicks=true
+    RemoteNickFormat="<{NOPINGNICK}@{LABEL}> "
 
 [[gateway]]
 name="mygateway"
-- 
2.45.1

_______________________________________________
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to