瀏覽代碼

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