This commit is contained in:
Aevann1 2022-03-20 01:33:55 +02:00
parent 29b0bcd9f9
commit 60724a744e

View file

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