Merge branch 'name_on_message' into 'master'

fixed errer

See merge request kelder/cammiechat!4
This commit is contained in:
hannes 2019-09-03 00:44:23 +02:00
commit 378b668f7a

View file

@ -92,7 +92,7 @@ def messages_post():
if sender != "somebody":
message = "<" + sender + "> " + message.decode()
messages.append(Message(time, sender, sendertype, str(message, "UTF-8")))
messages.append(Message(time, sender, sendertype, message))
url = 'http://10.0.5.42:8000/' # Set destination URL here
post_fields = {'X-Messages': base64.b64encode(message)}