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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/olm/inbound_group_session.py b/python/olm/inbound_group_session.py
index 6c01095..eb0422f 100644
--- a/python/olm/inbound_group_session.py
+++ b/python/olm/inbound_group_session.py
@@ -33,7 +33,7 @@ inbound_group_session_function(
)
inbound_group_session_function(
- lib.olm_init_inbound_group_session, c_uint32, c_void_p, c_size_t
+ lib.olm_init_inbound_group_session, c_void_p, c_size_t
)
inbound_group_session_function(
@@ -66,10 +66,10 @@ class InboundGroupSession(object):
self.ptr, key_buffer, len(key), pickle_buffer, len(pickle)
)
- def init(self, message_index, session_key):
+ def init(self, session_key):
key_buffer = create_string_buffer(session_key)
lib.olm_init_inbound_group_session(
- self.ptr, message_index, key_buffer, len(session_key)
+ self.ptr, key_buffer, len(session_key)
)
def decrypt(self, message):