add stuff

This commit is contained in:
Nico Schottelius 2025-01-30 20:39:21 +01:00
commit ce204af6c2

View file

@ -136,6 +136,10 @@ class UngleichMatrixClient:
room_key = self.room_keys['rooms'][self.room_id]['sessions']
print(f"Messages key data: {room_key}")
session_key_encrypted = room_key['session_data']['ciphertext']
ephemeral_key = room_key['session_data']['ephemeral']
session_mac = room_key['session_data']['mac']
def decrypt_room_messages(self):
"""
Decrypt messages that are of type 'm.room.encrypted'