fix infinite loop
This commit is contained in:
parent
4b5e6804a9
commit
114257359c
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ const fetchNotifications = ({ store, args, older }) => {
|
||||||
return apiService.fetchTimeline(args)
|
return apiService.fetchTimeline(args)
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
if (response.errors) {
|
if (response.errors) {
|
||||||
if (response.status === 400) {
|
if (response.status === 400 && mastoApiNotificationTypes.has('status')) {
|
||||||
store.dispatch('setInstanceOption', {
|
store.dispatch('setInstanceOption', {
|
||||||
name: 'statusNotificationTypeAvailable',
|
name: 'statusNotificationTypeAvailable',
|
||||||
value: false
|
value: false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue