mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Use websocket to constantly fetch new notifications. Also use flatlist item view to clear notification.
This commit is contained in:
@ -80,14 +80,6 @@ const queryFunction = ({
|
||||
params
|
||||
})
|
||||
|
||||
case 'RemotePublic':
|
||||
return client<Mastodon.Status[]>({
|
||||
method: 'get',
|
||||
instance: 'remote',
|
||||
url: 'timelines/public',
|
||||
params
|
||||
})
|
||||
|
||||
case 'Notifications':
|
||||
return client<Mastodon.Notification[]>({
|
||||
method: 'get',
|
||||
|
Reference in New Issue
Block a user