show CW in system notification for CW'd statuses (#754)
* show CW in system notification for CW'd statuses * show spoiler text instead of generic CW message
This commit is contained in:
parent
f89b04aa11
commit
d64658f1f8
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue