diff --git a/src/stores/notifications.js b/src/stores/notifications.js index 27bcc8321..034538dab 100644 --- a/src/stores/notifications.js +++ b/src/stores/notifications.js @@ -75,10 +75,10 @@ export const useNotificationsStore = defineStore('notifications', { return true }) - commit( - 'addNewUsers', - validNotifications.map((notification) => notification.from_profile), - ) + useUsersStore().addNewUsers({ + timestamp, + data: validNotifications.map((notification) => notification.from_profile), + }) const statusNotifications = validNotifications.filter( (notification) =>