Delete chat (one/both side)

This commit is contained in:
2025-08-02 23:58:02 +03:30
parent 3cdbb7e24b
commit 364e675bf7
4 changed files with 13 additions and 15 deletions
@@ -1191,11 +1191,11 @@ public class ActionHandler {
case "2" -> toggleBlock(chat.getOtherUserId());
case "3" -> {
deleteChat(chat.getId(), false);
return false;
return true;
}
case "4" -> {
deleteChat(chat.getId(), true);
return false;
return true;
}
case "5" -> {
JSONObject reqProfile = new JSONObject();