fix counter updates for preloaded data

re: mastodon#467
see fb5289372d
This commit is contained in:
sk 2022-12-19 16:00:46 +01:00 committed by LucasGGamerM
parent 56d344045a
commit 3e7bbebe7f

View File

@ -189,8 +189,8 @@ public abstract class StatusListFragment extends BaseStatusListFragment<Status>{
}
}
for(Status s:preloadedData){
if(s.id.equals(ev.id)){
s.update(ev);
if(s.getContentStatus().id.equals(ev.id)){
s.getContentStatus().update(ev);
}
}
}