This commit is contained in:
Grishka
2022-11-26 20:16:43 +03:00
parent 4200486aeb
commit 5a681d3557
3 changed files with 7 additions and 3 deletions

View File

@@ -687,7 +687,7 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr
wm.removeView(sendingOverlay);
sendingOverlay=null;
if(editingStatus==null){
E.post(new StatusCreatedEvent(result));
E.post(new StatusCreatedEvent(result, accountID));
if(replyTo!=null){
replyTo.repliesCount++;
E.post(new StatusCountersUpdatedEvent(replyTo));

View File

@@ -187,6 +187,8 @@ public abstract class StatusListFragment extends BaseStatusListFragment<Status>{
@Subscribe
public void onStatusCreated(StatusCreatedEvent ev){
if(!ev.accountID.equals(accountID))
return;
StatusListFragment.this.onStatusCreated(ev);
}