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
|
@ -9,7 +9,7 @@ const options = { limit: 30, types: filter ? [filter] : [] }
|
|||
|
||||
// Default limit is 20 notifications, and servers are normally caped to 30
|
||||
const paginator = useMastoClient().v1.notifications.list(options)
|
||||
const stream = useStreaming(client => client.user.subscribe())
|
||||
const stream = useStreaming(client => client.user.notification.subscribe())
|
||||
|
||||
const { clearNotifications } = useNotifications()
|
||||
onActivated(clearNotifications)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue