remotes/1693045480750635534/spooky-22
Aevann1 2022-03-20 01:33:55 +02:00
parent cd79cfaa8d
commit b4cf4b0574
1 changed files with 13 additions and 14 deletions

View File

@ -14,12 +14,11 @@ def chat( v):
return render_template("chat.html", v=v) return render_template("chat.html", v=v)
if "load_chat" in sys.argv: sex = SocketIO(app)
sex = SocketIO(app)
@sex.on('speak') @sex.on('speak')
@auth_required @auth_required
def speak(data, v): def speak(data, v):
data={ data={
"avatar": v.profile_url, "avatar": v.profile_url,