client: add todo for usernames in links

[skip ci]
This commit is contained in:
Tulir Asokan
2025-07-15 16:39:50 +03:00
parent 890851e85e
commit 3fb554b934
+1
View File
@@ -345,6 +345,7 @@ func NewTelegramClient(ctx context.Context, tc *TelegramConnector, login *bridge
} else if submatches[1] == "premium" {
portalKey = client.makePortalKeyFromID(ids.PeerTypeUser, 777000)
} else {
// FIXME why does this not handle usernames??
userID, err := strconv.ParseInt(submatches[1], 10, 64)
if err != nil {
log.Warn().Err(err).Msg("error parsing user ID")