Hide unknown notifications (#1151)
* hide unknown notifications * hide unknown notifications
This commit is contained in:
parent
c3df44eaef
commit
2e52457b32
2 changed files with 32 additions and 17 deletions
|
@ -476,7 +476,6 @@ public class NotificationHelper {
|
|||
}
|
||||
|
||||
switch (notification.getType()) {
|
||||
default:
|
||||
case MENTION:
|
||||
return account.getNotificationsMentioned();
|
||||
case FOLLOW:
|
||||
|
@ -485,6 +484,8 @@ public class NotificationHelper {
|
|||
return account.getNotificationsReblogged();
|
||||
case FAVOURITE:
|
||||
return account.getNotificationsFavorited();
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue