forked from MarseyWorld/MarseyWorld
fix 500 error
parent
20d7c6b88f
commit
558cd65a51
|
@ -227,7 +227,7 @@ def speak(data, v):
|
||||||
send_notification(user.id, f"@{v.username} has removed you as a mod of their chat [{chat.name}](/chat/{chat.id})")
|
send_notification(user.id, f"@{v.username} has removed you as a mod of their chat [{chat.name}](/chat/{chat.id})")
|
||||||
|
|
||||||
if chat.id != 1:
|
if chat.id != 1:
|
||||||
print(get_chatroom(), flush=True)
|
print(request.referrer, flush=True)
|
||||||
alrdy_here = set(online[request.referrer].keys())
|
alrdy_here = set(online[request.referrer].keys())
|
||||||
print(alrdy_here, flush=True)
|
print(alrdy_here, flush=True)
|
||||||
memberships = g.db.query(ChatMembership).options(load_only(ChatMembership.user_id)).filter(
|
memberships = g.db.query(ChatMembership).options(load_only(ChatMembership.user_id)).filter(
|
||||||
|
|
Loading…
Reference in New Issue