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
@@ -394,9 +394,11 @@ func (app *appContext) MyTelegramVerifiedInvite(gc *gin.Context) {
return
}
tgUser := TelegramUser{
ChatID: token.ChatID,
Username: token.Username,
Contact: true,
TelegramVerifiedToken: TelegramVerifiedToken{
ChatID: token.ChatID,
Username: token.Username,
},
Contact: true,
}
if lang, ok := app.telegram.languages[tgUser.ChatID]; ok {
tgUser.Lang = lang