Saved messages chat implemented.

This commit is contained in:
Asal Lotfi
2025-08-02 14:47:26 +03:30
parent 46f036cb31
commit 9887b2af42
5 changed files with 282 additions and 9 deletions
@@ -1778,6 +1778,17 @@ public class ClientHandler implements Runnable {
break;
}
case "get_saved_messages": {
UUID user_Id = UUID.fromString(requestJson.getString("user_id"));
response = SidebarService.handleGetSavedMessages(user_Id);
break;
}
case "send_message": {
response = SidebarService.handleSendMessage(requestJson);
break;
}
default:
response = new ResponseModel("error", "Unknown action: " + action);
}