Page MenuHomePhabricator

Add option to discourse-chat-integration plugin to use plain message instead of channel notice for the Matrix provider
Closed, ResolvedPublic

Description

Per T187634#4451554 the notice is causing problems.

Event Timeline

Commit: https://github.com/tgr/discourse-chat-integration/tree/matrix-notice-option
Needs to be tested. @Qgil do we have a test site? Or can I just test on the live site? (Pretty simple patch, probably not worth the effort of setting up a local test environment.)

The live site is a pilot in a labs server, so I think it is totally fine to test there.

A bot named WikimediaDevelop was recently k-lined from freenode by Sigyn due to sending a channel notice. Need to appeal the k-line (easy) and configure the bot to not send channel notices (just message the channel regularly instead).

In general, a channel notice (as opposed to channel privmsg) is synonymous with spam, and should never be done in the course of normal operation. Super important announcements may befit a channel notice, but nothing else should, especially not automated notices from bots.

@Skizzerz the bot sends plain text now (in theory). Where do I go to appeal the k-line?

A bot named WikimediaDevelop was recently k-lined from freenode by Sigyn due to sending a channel notice. Need to appeal the k-line (easy) and configure the bot to not send channel notices (just message the channel regularly instead).

In general, a channel notice (as opposed to channel privmsg) is synonymous with spam, and should never be done in the course of normal operation. Super important announcements may befit a channel notice, but nothing else should, especially not automated notices from bots.

@Skizzerz the bot sends plain text now (in theory). Where do I go to appeal the k-line?

I already took care of that way back in August, so you should have no issues. In any case, it would have expired by now anyway :)

If the bot is unable to connect, check the logs for error messages returned by the irc server; if the bot is blocked (blocks on IRC are referred to as "k-lines") then instructions on how to appeal will be provided in that message.

Tgr claimed this task.

Upstream PR is discourse/discourse-chat-integration#25 (merged).

Bot seems to be sending proper text messages now.

https://discourse-mediawiki.wmflabs.org/t/irc-integration/195/10 has the details on applying the patch for testing, in that case that's useful for other issues in the future.