Hotfix username
This commit is contained in:
parent
c84dfca8a6
commit
86339e2c2e
|
@ -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)}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue