mirror of
https://github.com/zedeus/nitter.git
synced 2026-01-28 22:32:48 -05:00
Make queries non-optional
This commit is contained in:
@@ -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}:
|
||||
|
||||
Reference in New Issue
Block a user