NotificationHelper: don't send notification if it's from muted thread

main
Alibek Omarov 5 years ago
parent 3fe33b0435
commit 43a21d0a3a
  1. 6
      app/src/main/java/com/keylesspalace/tusky/util/NotificationHelper.java

@ -144,6 +144,12 @@ public class NotificationHelper {
return;
}
if (body.getStatus() != null
&& body.getStatus().getPleroma() != null
&& body.getStatus().getPleroma().getThreadMuted() == true) {
return;
}
String rawCurrentNotifications = account.getActiveNotifications();
JSONArray currentNotifications;
BidiFormatter bidiFormatter = BidiFormatter.getInstance();

Loading…
Cancel
Save