FruitieX/teleirc

chatid can be left unstored without warning with forward slashes in group name

Mikaela opened this issue · 2 comments

     {
         ircChan: '#mer-meeting',
         tgGroup: 'Mer-meeting :: One-way connection, if you want to participate join on IRC at http://webchat.freenode.net/?channels=mer-meeting',
         tgGroupReadOnly: true
     }

This resulted to a lot of spam at IRC and SSHing in and trying to investigate the issue, I see that a chatid file hasn't been stored.

  • A lot of spam at IRC

I think the bot should possibly warn about chatid not being stored very loudly in the Telegram group or something so this wouldn't happen. The group in question has now been renamed.

it's not the length but the forward slashes, specifically the url scheme part in your telegram group name. I had planned on reworking the chatid storage but i never got around to it.

Issue renamed.