mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-23 22:09:29 +00:00
Added success post message
This commit is contained in:
parent
612050a1bc
commit
2872a84457
@ -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 !");
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user