diff --git a/matrix/rooms.py b/matrix/rooms.py index 717d5ae..f1ff806 100644 --- a/matrix/rooms.py +++ b/matrix/rooms.py @@ -258,7 +258,11 @@ class RoomInfo(): def _decrypt_event(olm, room_id, event_dict): session_id = event_dict["content"]["session_id"] ciphertext = event_dict["content"]["ciphertext"] - plaintext = olm.group_decrypt(room_id, session_id, ciphertext) + plaintext, message_index = olm.group_decrypt( + room_id, + session_id, + ciphertext + ) if not plaintext: return None