fds
parent
224b9c1ae4
commit
a8c6ca9ab1
|
@ -18,12 +18,10 @@ def chat( v):
|
|||
@auth_required
|
||||
def speak(data, v):
|
||||
|
||||
text = sanitize(data['text'][:1000].strip())
|
||||
|
||||
data={
|
||||
"avatar": v.profile_url,
|
||||
"username":v.username,
|
||||
"text":text,
|
||||
"text":sanitize(data[:1000].strip()),
|
||||
"time": time.strftime("%d %b %Y at %H:%M:%S", time.gmtime(int(time.time()))),
|
||||
"userlink":v.url
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue