Add automatic notification polling for grouped notifications (#31513)

This commit is contained in:
Claire authored and GitHub committed 2024-08-21 14:41:31 +00:00
1 parent 01a757d306
commit d67e11733e
4 files changed
+186 -85

No files matched your search

@@ -4,6 +4,7 @@ import type { ApiNotificationGroupsResultJSON } from 'mastodon/api_types/notific
export const apiFetchNotifications = async (params?: {
exclude_types?: string[];
max_id?: string;
since_id?: string;
}) => {
const response = await api().request<ApiNotificationGroupsResultJSON>({
method: 'GET',