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.

main
Vavassor 7 years ago
parent 5f054e1d5f
commit 3d7807ec7b
  1. 2
      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;

Loading…
Cancel
Save