Remove cache messages when muting

maths
Thomas 2 years ago
parent a796d54166
commit 8307cb8e75

@ -703,6 +703,8 @@ public class AccountsVM extends AndroidViewModel {
Response<RelationShip> muteResponse = muteCall.execute();
if (muteResponse.isSuccessful()) {
relationShip = muteResponse.body();
sendAction(getApplication().getApplicationContext(), Helper.ARG_DELETE_ALL_FOR_ACCOUNT_ID, null, id);
new StatusCache(getApplication().getApplicationContext()).deleteStatusForTargetedAccount(MainActivity.currentInstance, MainActivity.currentUserID, id);
}
} catch (Exception e) {
e.printStackTrace();

Loading…
Cancel
Save