Page MenuHomePhabricator

IgnoreNicks setting applied to a gateway does not work as expected
Open, MediumPublicBUG REPORT

Description

Messages from IRC bots named in an IgnoreNicks setting applied via a [gateway.inout.options] section of a [[gateway.inout]] configuration block are being passed from IRC to Telegram.

Screenshot 2024-07-08 at 10.49.27.png (1×1 px, 611 KB)

Seen previously with T330341: Should ignore wikibugs messages on #wikimedia-ed and now with the config change from https://gitlab.wikimedia.org/toolforge-repos/bridgebot/-/merge_requests/8

Event Timeline

bd808 triaged this task as Medium priority.Jul 8 2024, 4:57 PM

I was just wondering as I wrote this up if the IgnoreNicks should be added to the Telegram side of the bridge rather than the IRC side. The documentation at https://github.com/42wim/matterbridge/wiki/Settings#ignorenicks says "Messages from those users will not be sent to other bridges" however which makes it seem like the ignore is meant to happen on the inbound message side rather than the outbound. Some code reading is probably in order here to get a better idea of how things could be going wrong.