From 3d7807ec7b032166c9b84360b828fe117b99cd1d Mon Sep 17 00:00:00 2001 From: Vavassor Date: Thu, 13 Jul 2017 21:57:15 -0400 Subject: [PATCH] Fixes a small error in pull request #332 where reblog and favourite notifications show your display name for the "reblogged by/favourited by" message instead of whomever did so. --- .../com/keylesspalace/tusky/adapter/NotificationsAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java b/app/src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java index 7dbcabb8..fbc6c673 100644 --- a/app/src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java +++ b/app/src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java @@ -104,7 +104,7 @@ public class NotificationsAdapter extends RecyclerView.Adapter { case FAVOURITE: case REBLOG: { StatusNotificationViewHolder holder = (StatusNotificationViewHolder) viewHolder; - holder.setMessage(type, notification.getStatusViewData().getUserFullName(), + holder.setMessage(type, notification.getAccount().getDisplayName(), notification.getStatusViewData()); holder.setupButtons(notificationActionListener, notification.getAccount().id); break;