Fix notification message

This commit is contained in:
Thomas 2021-01-31 17:11:54 +01:00
parent a02bf663e1
commit 7966fd4750
1 changed files with 2 additions and 2 deletions

View File

@ -208,9 +208,9 @@ public class BaseNotificationsSyncJob extends Job {
if (notificationUrl == null) {
notificationUrl = notification.getAccount().getAvatar();
if (notification.getAccount().getDisplay_name() != null && notification.getAccount().getDisplay_name().length() > 0)
title = String.format("%s %s", notification.getAccount().getDisplay_name(), getContext().getString(R.string.notif_mention));
title = String.format("%s %s", notification.getAccount().getDisplay_name(), getContext().getString(R.string.notif_status));
else
title = String.format("@%s %s", notification.getAccount().getAcct(), getContext().getString(R.string.notif_mention));
title = String.format("@%s %s", notification.getAccount().getAcct(), getContext().getString(R.string.notif_status));
}
}
break;