From b6dd28810fe9b0f76423a9ddb299bc6074b10dab Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 15 Nov 2024 15:08:47 +0200 Subject: [PATCH] remove print-debugging --- files/routes/chat.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/files/routes/chat.py b/files/routes/chat.py index 6456a8e3a..5b51d2655 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -232,9 +232,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_referrer(), flush=True) alrdy_here = set(online[get_referrer()].keys()) - print(alrdy_here, flush=True) memberships = g.db.query(ChatMembership).options(load_only(ChatMembership.user_id)).filter( ChatMembership.chat_id == chat_id, ChatMembership.user_id.notin_(alrdy_here),