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.
This commit is contained in:
Kumi 2023-11-29 11:43:09 +01:00
parent a6fca53b51
commit e1782d1034
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -21,16 +21,16 @@ from .keys import keys_query_callback
from .test_response import test_response_callback from .test_response import test_response_callback
RESPONSE_CALLBACKS = { RESPONSE_CALLBACKS = {
Response: test_response_callback, #Response: test_response_callback,
SyncResponse: sync_callback, SyncResponse: sync_callback,
JoinResponse: join_callback, JoinResponse: join_callback,
#KeysQueryResponse: keys_query_callback, #KeysQueryResponse: keys_query_callback,
} }
EVENT_CALLBACKS = { EVENT_CALLBACKS = {
Event: test_callback, #Event: test_callback,
InviteEvent: room_invite_callback, InviteEvent: room_invite_callback,
RoomMessageText: message_callback, RoomMessageText: message_callback,
RoomMemberEvent: roommember_callback, RoomMemberEvent: roommember_callback,
MegolmEvent: encrypted_message_callback, #MegolmEvent: encrypted_message_callback,
} }