forked from Kelder/cammiechat
Merge branch 'name_on_message' into 'master'
decoded sender to concat in string See merge request kelder/cammiechat!2
This commit is contained in:
commit
14cffd4d46
1 changed files with 3 additions and 3 deletions
2
chat.py
2
chat.py
|
@ -90,7 +90,7 @@ def messages_post():
|
|||
return "OK"
|
||||
|
||||
if sender != "somebody":
|
||||
message = "<" + sender + "> " + message
|
||||
message = "<" + sender.decode() + "> " + message
|
||||
|
||||
messages.append(Message(time, sender, sendertype, str(message, "UTF-8")))
|
||||
url = 'http://10.0.5.42:8000/' # Set destination URL here
|
||||
|
|
Loading…
Reference in a new issue