aboutsummaryrefslogtreecommitdiff
path: root/python/olm/inbound_group_session.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/olm/inbound_group_session.py')
-rw-r--r--python/olm/inbound_group_session.py2
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)