diff --git a/RestControllers/conversationsController.php b/RestControllers/conversationsController.php index 4138a53..f961f38 100644 --- a/RestControllers/conversationsController.php +++ b/RestControllers/conversationsController.php @@ -279,6 +279,7 @@ class conversationsController{ if(!CS::get()->components->conversations->sendMessage(userID, $conversationID, $message, $image)) Rest_fatal_error(500, "Couldn't send the message !"); - Rest_fatal_error("200", "All right now"); + //Success + return array("success" => "Conversation message with successfully added !"); } } \ No newline at end of file