more work on notifications + status edits

This commit is contained in:
Henry Jameson 2026-08-13 17:14:29 +03:00
commit 6783236351
6 changed files with 68 additions and 44 deletions

View file

@ -22,10 +22,7 @@ const mastoApiNotificationTypes = new Set([
'pleroma:report',
])
const fetchAndUpdate = (
{ credentials },
{ older = false, sinceId }
) => {
const fetchAndUpdate = ({ credentials }, { older = false, sinceId }) => {
useNotificationsStore().setLoading(true)
const args = { credentials }
const timelineData = useNotificationsStore()
@ -115,7 +112,6 @@ const fetchNotifications = ({ args, older }) => {
})
}
const notificationsFetcher = (credentials) => {
const state = {
interval: null,