fix infinite loop

This commit is contained in:
Henry Jameson 2025-06-29 03:18:09 +03:00
commit 114257359c

View file

@ -81,7 +81,7 @@ const fetchNotifications = ({ store, args, older }) => {
return apiService.fetchTimeline(args)
.then((response) => {
if (response.errors) {
if (response.status === 400) {
if (response.status === 400 && mastoApiNotificationTypes.has('status')) {
store.dispatch('setInstanceOption', {
name: 'statusNotificationTypeAvailable',
value: false