moira
moira copied to clipboard
[ telegram sender ] bad redis key naming / key storing
- connector.RemoveUser is never being used (except for tests)
- non-unique chat titles are not allowed: https://github.com/moira-alert/moira/blob/1084b514bb3fe7b73b7a69adb305eb04590a62aa/senders/telegram/handle_message.go#L37
HI @kamaev @beevee can you plz elaborate what it means by "non-unique chat titles are not allowed?
HI @kamaev @beevee can you plz elaborate what it means by "non-unique chat titles are not allowed?
Sure. When a Telegram user creates a subscription to a private group, notification channel is specified by the group title. Of course, different private groups in Telegram can have identical titles, but Moira doesn't allow this.
@beevee one possible solution would be: inform the user about existing group-name after /start
so that it can be renamed. What do you say?