diff options
author | pik <alexander.maznev@gmail.com> | 2017-04-17 22:02:20 -0500 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-04-18 19:15:51 +0100 |
commit | 51840d82dc6799687873be9839b99738fcd931a6 (patch) | |
tree | 9f901327409fad46e745a2406c646643abcb7b81 | |
parent | ed6ebb9a4d262c4e08858a09b7bb376901014c8b (diff) |
Return python int instead of c_uint32 for InboundGroupSession.decrypt message_index
Signed-off-by: Alexander Maznev <alexander.maznev@gmail.com>
-rw-r--r-- | python/olm/inbound_group_session.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/olm/inbound_group_session.py b/python/olm/inbound_group_session.py index be26f6c..286aedb 100644 --- a/python/olm/inbound_group_session.py +++ b/python/olm/inbound_group_session.py @@ -119,7 +119,7 @@ class InboundGroupSession(object): plaintext_buffer, max_plaintext_length, byref(message_index) ) - return plaintext_buffer.raw[:plaintext_length], message_index + return plaintext_buffer.raw[:plaintext_length], message_index.value def session_id(self): id_length = lib.olm_inbound_group_session_id_length(self.ptr) |