telegram: fix linking on sign-up

fixes #440.
This commit is contained in:
Harvey Tindall
2025-11-28 16:34:39 +00:00
parent 7d947015d3
commit 4d58fc5f88
4 changed files with 19 additions and 16 deletions
+5 -3
View File
@@ -254,9 +254,11 @@ func (app *appContext) TelegramAddUser(gc *gin.Context) {
return
}
tgUser := TelegramUser{
ChatID: tgToken.ChatID,
Username: tgToken.Username,
Contact: true,
TelegramVerifiedToken: TelegramVerifiedToken{
ChatID: tgToken.ChatID,
Username: tgToken.Username,
},
Contact: true,
}
if lang, ok := app.telegram.languages[tgToken.ChatID]; ok {
tgUser.Lang = lang