fds
This commit is contained in:
parent
f3d21bb958
commit
6a0311d56c
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue