overhaul trending polls
* Split into local, global, and completed sections * Don't require credential, but check for local/global timeline perms * Fix rate limit * Return polls where the current user has already voted * Return non-public polls if the user has permission to view them * Apply user/instance blocks * Fetch polls + notes + users in a single step to speed up pack
This commit is contained in:
Vendored
+12
@@ -13069,6 +13069,18 @@ export interface Locale extends ILocale {
|
||||
* Users popular on {name}
|
||||
*/
|
||||
"popularUsersLocal": ParameterizedString<"name">;
|
||||
/**
|
||||
* Polls trending on {host}
|
||||
*/
|
||||
"pollsOnLocal": ParameterizedString<"host">;
|
||||
/**
|
||||
* Polls trending on the global network
|
||||
*/
|
||||
"pollsOnRemote": string;
|
||||
/**
|
||||
* Polls that have ended recently
|
||||
*/
|
||||
"pollsExpired": string;
|
||||
/**
|
||||
* Silenced
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user