diff --git a/app/src/main/java/com/keylesspalace/tusky/fragment/TimelineFragment.java b/app/src/main/java/com/keylesspalace/tusky/fragment/TimelineFragment.java index ac151f1ab..6764911b9 100644 --- a/app/src/main/java/com/keylesspalace/tusky/fragment/TimelineFragment.java +++ b/app/src/main/java/com/keylesspalace/tusky/fragment/TimelineFragment.java @@ -870,7 +870,8 @@ public class TimelineFragment extends SFragment implements Iterator> iterator = statuses.iterator(); while (iterator.hasNext()) { Status status = iterator.next().asRightOrNull(); - if (status != null && status.getAccount().getId().equals(accountId)) { + if (status != null && + (status.getAccount().getId().equals(accountId) || status.getActionableStatus().getAccount().getId().equals(accountId))) { iterator.remove(); } } diff --git a/app/src/main/java/com/keylesspalace/tusky/fragment/ViewThreadFragment.java b/app/src/main/java/com/keylesspalace/tusky/fragment/ViewThreadFragment.java index fb61c4fe0..5be15a94e 100644 --- a/app/src/main/java/com/keylesspalace/tusky/fragment/ViewThreadFragment.java +++ b/app/src/main/java/com/keylesspalace/tusky/fragment/ViewThreadFragment.java @@ -421,7 +421,7 @@ public final class ViewThreadFragment extends SFragment implements Iterator iterator = statuses.iterator(); while (iterator.hasNext()) { Status s = iterator.next(); - if (s.getAccount().getId().equals(accountId)) { + if (s.getAccount().getId().equals(accountId) || s.getActionableStatus().getAccount().getId().equals(accountId)) { iterator.remove(); } }