fix 500 error

master
Aevann 2024-11-15 14:59:04 +02:00
parent 20d7c6b88f
commit 558cd65a51
1 changed files with 1 additions and 1 deletions

View File

@ -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})")
if chat.id != 1:
print(get_chatroom(), flush=True)
print(request.referrer, flush=True)
alrdy_here = set(online[request.referrer].keys())
print(alrdy_here, flush=True)
memberships = g.db.query(ChatMembership).options(load_only(ChatMembership.user_id)).filter(