From 5520afe7bacba54c75a60c6e76f5513654cc5b53 Mon Sep 17 00:00:00 2001 From: hueso Date: Thu, 6 Mar 2025 21:01:18 -0300 Subject: [PATCH] frfrfr --- src/ollama_slixmpp_omemo_bot/ollama_bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ollama_slixmpp_omemo_bot/ollama_bot.py b/src/ollama_slixmpp_omemo_bot/ollama_bot.py index 518b976..30c1baa 100644 --- a/src/ollama_slixmpp_omemo_bot/ollama_bot.py +++ b/src/ollama_slixmpp_omemo_bot/ollama_bot.py @@ -118,10 +118,10 @@ class OllamaBot(ClientXMPP): if msg['body'] is not None: log.write(f"{mfrom}: {msg['body']}\n") if self.is_command(msg['body']): - await self.handle_command(mto, mtype, decoded) + await self.handle_command(mto, mtype, msg['body']) elif self.debug_level == LEVELS.DEBUG: ollama_server_response: Optional[str] = ( - self.message_to_ollama_server(decoded) + self.message_to_ollama_server(msg['body']) ) await self.plain_reply( mto, mtype, f"{ollama_server_response or ''}"