diff --git a/app/src/main/java/com/keylesspalace/tusky/util/NotificationHelper.java b/app/src/main/java/com/keylesspalace/tusky/util/NotificationHelper.java index 7bedce377..7bf7010ad 100644 --- a/app/src/main/java/com/keylesspalace/tusky/util/NotificationHelper.java +++ b/app/src/main/java/com/keylesspalace/tusky/util/NotificationHelper.java @@ -549,7 +549,11 @@ public class NotificationHelper { case MENTION: case FAVOURITE: case REBLOG: - return notification.getStatus().getContent().toString(); + if (notification.getStatus().getSensitive()) { + return notification.getStatus().getSpoilerText(); + } else { + return notification.getStatus().getContent().toString(); + } } return null; }