Skip to content

Commit

Permalink
Fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Beniamiiin committed Mar 28, 2024
1 parent 28edcc3 commit a4720fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func (h *accessGovernanceBotCommandHandler) handleNewChatMembers(bot *tgbotapi.B
continue
}

if user.TelegramID != 0 {
if user.TelegramID == 0 {
user.TelegramID = newChatMember.ID
}

Expand Down

0 comments on commit a4720fa

Please sign in to comment.