Fix echo endpoint in testproject

This commit is contained in:
Andrew Godwin 2016-05-30 00:17:30 +00:00
parent e0341e65cd
commit 80a9019cb2

View File

@ -9,4 +9,6 @@ def ws_connect(message):
#@enforce_ordering(slight=True)
def ws_message(message):
"Echoes messages back to the client"
message.reply_channel.send(message.content)
message.reply_channel.send({
"text": message['text'],
})