Hotfix username

This commit is contained in:
Casey 2024-03-17 14:06:41 +03:00
parent c84dfca8a6
commit 86339e2c2e
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ def form_for(message: Message, link: str) -> str:
assert message.from_user != None
params = {
"entry.1873578193": link,
"entry.1733286388": message.from_user.username
"entry.1733286388": f"@{message.from_user.username}" if message.from_user.username else ""
}
return f"{FORM_URL}?{urlencode(params)}"