Преглед изворни кода

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.
Kumi пре 1 година
родитељ
комит
e1782d1034
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      src/gptbot/callbacks/__init__.py

+ 3 - 3
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,
 }