mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Make queries non-optional
This commit is contained in:
parent
53c6247d8b
commit
bd774cf0ca
10 changed files with 48 additions and 64 deletions
|
|
@ -78,7 +78,7 @@ proc genQueryUrl*(query: Query): string =
|
|||
if query.fromUser.len > 0:
|
||||
result = "/" & query.fromUser.join(",")
|
||||
|
||||
if query.kind == multi:
|
||||
if query.fromUser.len > 1:
|
||||
return result & "?"
|
||||
|
||||
if query.kind notin {custom, users}:
|
||||
|
|
|
|||
Loading…
Reference in a new issue