From 40bfdea5b152d4e5232853bcba4132eefd678945 Mon Sep 17 00:00:00 2001 From: sk Date: Sat, 22 Apr 2023 19:52:46 +0200 Subject: [PATCH] fix pleroma emoji reaction notifications --- .../android/fragments/NotificationsListFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java index 803f8ef88..1fb2ff6b4 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java @@ -102,7 +102,7 @@ public class NotificationsListFragment extends BaseStatusListFragment getString(R.string.sk_signed_up); case REPORT -> getString(R.string.sk_reported); case REACTION, PLEROMA_EMOJI_REACTION -> - n.emojiUrl != null ? getString(R.string.sk_reacted_with, n.emoji) : getString(R.string.sk_reacted); + n.emoji != null ? getString(R.string.sk_reacted_with, n.emoji) : getString(R.string.sk_reacted); }; HeaderStatusDisplayItem titleItem=extraText!=null ? new HeaderStatusDisplayItem(n.id, n.account, n.createdAt, this, accountID, n.status, n.emojiUrl!=null ? HtmlParser.parseCustomEmoji(extraText, Collections.singletonList(emoji)) : extraText, n, null) : null; if(n.status!=null){