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.
This commit is contained in:
parent
5f054e1d5f
commit
3d7807ec7b
@ -104,7 +104,7 @@ public class NotificationsAdapter extends RecyclerView.Adapter {
|
|||||||
case FAVOURITE:
|
case FAVOURITE:
|
||||||
case REBLOG: {
|
case REBLOG: {
|
||||||
StatusNotificationViewHolder holder = (StatusNotificationViewHolder) viewHolder;
|
StatusNotificationViewHolder holder = (StatusNotificationViewHolder) viewHolder;
|
||||||
holder.setMessage(type, notification.getStatusViewData().getUserFullName(),
|
holder.setMessage(type, notification.getAccount().getDisplayName(),
|
||||||
notification.getStatusViewData());
|
notification.getStatusViewData());
|
||||||
holder.setupButtons(notificationActionListener, notification.getAccount().id);
|
holder.setupButtons(notificationActionListener, notification.getAccount().id);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user