diff --git a/internal/tg_bot/handlers/access_governance_bot/command_handler.go b/internal/tg_bot/handlers/access_governance_bot/command_handler.go index 8358054..5e9e3df 100644 --- a/internal/tg_bot/handlers/access_governance_bot/command_handler.go +++ b/internal/tg_bot/handlers/access_governance_bot/command_handler.go @@ -246,7 +246,7 @@ func (h *accessGovernanceBotCommandHandler) handleNewChatMembers(bot *tgbotapi.B continue } - if user.TelegramID != 0 { + if user.TelegramID == 0 { user.TelegramID = newChatMember.ID }