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

Don't forward messages with a configurable prefix #340

Closed thenaterhood closed 4 years ago

thenaterhood commented 4 years ago

Fixes #201

codeclimate[bot] commented 4 years ago

Code Climate has analyzed commit e2092248 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 90.9% (80% is the threshold).

This pull request will bring the total coverage in the repository to 58.2% (1.5% change).

View more on Code Climate.

thenaterhood commented 4 years ago

I added this for both sides, since I've seen concern from folks who occasionally don't want their messages leaving Telegram.

jwflory commented 4 years ago

I tested this locally and it works like a charm! I followed @MonkeyDo's use case with the [off] prefix:

Screenshot of a conversation over TeleIRC - from the IRC side

Screenshot of a conversation over TeleIRC - from the Telegram side

Going to merge this. :clapper: Thanks @thenaterhood! :raised_hands: