mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-23 01:00:04 +02:00
Remove cache messages when muting
This commit is contained in:
parent
a796d54166
commit
8307cb8e75
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue