From e1782d1034fb0cc359db61ada2b9d434341a9400 Mon Sep 17 00:00:00 2001 From: Kumi Date: Wed, 29 Nov 2023 11:43:09 +0100 Subject: [PATCH] Disable test and encryption callbacks Temporarily commented out callbacks for test responses, event handling, and encrypted messages to focus on core functionality stabilization. This change aims to simplify the debugging process and enhance the reliability of active features during the development phase. Encryption handling will be reintroduced after refining base features. --- src/gptbot/callbacks/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gptbot/callbacks/__init__.py b/src/gptbot/callbacks/__init__.py index 4d8ad58..f57fa92 100644 --- a/src/gptbot/callbacks/__init__.py +++ b/src/gptbot/callbacks/__init__.py @@ -21,16 +21,16 @@ from .keys import keys_query_callback from .test_response import test_response_callback RESPONSE_CALLBACKS = { - Response: test_response_callback, + #Response: test_response_callback, SyncResponse: sync_callback, JoinResponse: join_callback, #KeysQueryResponse: keys_query_callback, } EVENT_CALLBACKS = { - Event: test_callback, + #Event: test_callback, InviteEvent: room_invite_callback, RoomMessageText: message_callback, RoomMemberEvent: roommember_callback, - MegolmEvent: encrypted_message_callback, + #MegolmEvent: encrypted_message_callback, } \ No newline at end of file