From d25c17a84a5ec4faddda916a240730e25e4d1ee1 Mon Sep 17 00:00:00 2001 From: Schimon Jehudah Date: Tue, 2 Jan 2024 12:52:37 +0000 Subject: [PATCH] Fix error --- slixfeed/xmpp/process.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/slixfeed/xmpp/process.py b/slixfeed/xmpp/process.py index 9b8caaf..09e632e 100644 --- a/slixfeed/xmpp/process.py +++ b/slixfeed/xmpp/process.py @@ -146,6 +146,15 @@ async def message(self, message): print(current_time(), "COMMAND:", message_text) match message_lowercase: + # case "breakpoint": + # if jid == get_value("accounts", "XMPP", "operator"): + # breakpoint() + # else: + # response = ( + # "This action is restricted. " + # "Type: breakpoint." + # ) + # send_reply_message(self, message, response) case "commands": response = text.print_cmd() send_reply_message(self, message, response) @@ -329,7 +338,6 @@ async def message(self, message): "📫️ Processing request to fetch data from {}" ).format(url) send_status_message(self, jid, status_type, status_message) - send_reply_message(self, message, response) if url.startswith("feed:"): url = uri.feed_to_http(url) # url_alt = await uri.replace_hostname(url, "feed")