Fix Twitter link for searches

This commit is contained in:
Zed 2020-06-02 22:31:46 +02:00
parent 548cb62ff2
commit 9ad458ae25

View file

@ -136,7 +136,7 @@ proc getTwitterLink*(path: string; params: Table[string, string]): string =
return $(twitter / path ? filterParams(params))
let p = {
"f": $query.kind,
"f": if query.kind == users: "user" else: "live",
"q": genQueryParam(query),
"src": "typed_query"
}