fix: subscribe to proper user.notification stream (#2566)
This commit is contained in:
parent
b8e8693342
commit
7322711609
4 changed files with 2 additions and 6 deletions
|
@ -5,7 +5,6 @@ import type { PaginatorState } from '~/types'
|
|||
export function usePaginator<T, P, U = T>(
|
||||
_paginator: mastodon.Paginator<T[], P>,
|
||||
stream: Ref<mastodon.streaming.Subscription | undefined>,
|
||||
eventType: 'notification' | 'update' = 'update',
|
||||
preprocess: (items: (T | U)[]) => U[] = items => items as unknown as U[],
|
||||
buffer = 10,
|
||||
) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue