Added success post message

This commit is contained in:
Pierre 2017-06-24 14:32:01 +02:00
parent 612050a1bc
commit 2872a84457

View File

@ -279,6 +279,7 @@ class conversationsController{
if(!CS::get()->components->conversations->sendMessage(userID, $conversationID, $message, $image)) if(!CS::get()->components->conversations->sendMessage(userID, $conversationID, $message, $image))
Rest_fatal_error(500, "Couldn't send the message !"); 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 !");
} }
} }