Infinite no chat_id set when group is created and updated to supergroup before enabling private message handling
Mikaela opened this issue · 2 comments
Mikaela commented
- Create a group and add the bot there (while it's running).
- Update the group to a supergroup.
- Enable #257 (
{ ircChan: 'bot', tgGroup: 'tg group name' }
- Restart the bot and there is a flood of "no chat_id set" until something is said.
To the original issue text about looping messages with IRC, solution is also adding tgGroupReadOnly: true
.
themiron commented
liking ircbot account with tg group means any message from tg group is about to be relayed as message from irc bot to some contact, and unless you specify "<irc_nick> msg" it's unknown to whom irc bot should send that.
but sure, infinite loop with 2+ users should not happen, gonna check and fix if necessary
Mikaela commented
Fix is tgGroupReadOnly: true
in the group config, so I will rename this issue more appropiately and also edit the text.