Skip to content
Snippets Groups Projects
Commit 51840d82 authored by pik's avatar pik Committed by Richard van der Hoff
Browse files

Return python int instead of c_uint32 for InboundGroupSession.decrypt message_index

parent ed6ebb9a
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment