diff --git a/chat.py b/chat.py index cedaa42..7ca3271 100644 --- a/chat.py +++ b/chat.py @@ -80,7 +80,8 @@ def reply_post(): if not message: return "No message found" socketio.emit('replymessage', {'message': message}, broadcast=True) - return "OK" + return "Message sent\n" + return "Failed\n" @app.route("/messages/", methods = ["POST"]) def messages_post():