mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-01-07 00:20:08 +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();
|
Response<RelationShip> muteResponse = muteCall.execute();
|
||||||
if (muteResponse.isSuccessful()) {
|
if (muteResponse.isSuccessful()) {
|
||||||
relationShip = muteResponse.body();
|
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) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|
Loading…
Reference in a new issue