summaryrefslogtreecommitdiffstats
path: root/app/src/main/java/app/fedilab/android/helper/NotificationsHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/app/fedilab/android/helper/NotificationsHelper.java')
-rw-r--r--app/src/main/java/app/fedilab/android/helper/NotificationsHelper.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/src/main/java/app/fedilab/android/helper/NotificationsHelper.java b/app/src/main/java/app/fedilab/android/helper/NotificationsHelper.java
index 18a81cfbd..4473d48f8 100644
--- a/app/src/main/java/app/fedilab/android/helper/NotificationsHelper.java
+++ b/app/src/main/java/app/fedilab/android/helper/NotificationsHelper.java
@@ -90,8 +90,13 @@ public class NotificationsHelper {
boolean notif_share = prefs.getBoolean(context.getString(R.string.SET_NOTIF_SHARE), true);
boolean notif_poll = prefs.getBoolean(context.getString(R.string.SET_NOTIF_POLL), true);
boolean notif_fav = prefs.getBoolean(context.getString(R.string.SET_NOTIF_FAVOURITE), true);
+ boolean notif_status = prefs.getBoolean(context.getString(R.string.SET_NOTIF_STATUS), true);
+ boolean notif_updates = prefs.getBoolean(context.getString(R.string.SET_NOTIF_UPDATE), true);
+ boolean notif_signup = prefs.getBoolean(context.getString(R.string.SET_NOTIF_ADMIN_SIGNUP), true);
+ boolean notif_report = prefs.getBoolean(context.getString(R.string.SET_NOTIF_ADMIN_REPORT), true);
+
//User disagree with all notifications
- if (!notif_follow && !notif_fav && !notif_mention && !notif_share && !notif_poll)
+ if (!notif_follow && !notif_fav && !notif_mention && !notif_share && !notif_poll && !notif_status && !notif_updates && !notif_signup && !notif_report)
return; //Nothing is done
MastodonNotificationsService mastodonNotificationsService = init(context, slugArray[1]);