aboutsummaryrefslogtreecommitdiff
path: root/python/olm/inbound_group_session.py
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2016-09-13 17:54:14 +0100
committerGitHub <noreply@github.com>2016-09-13 17:54:14 +0100
commitd7bc00c81d9f98d88e77f55056d6cebab90d8f85 (patch)
treede9a6b0a638f24724cf6cf36baea98dc6ed0a265 /python/olm/inbound_group_session.py
parent1a50a4b3a0bd38326a7f2327df5513072763ba65 (diff)
parenta628ef41bd5b860b89a3e2e29df56a461e85fa00 (diff)
Merge pull request #23 from matrix-org/markjh/remove_message_index
Remove the messsage index from olm_init_inbound_group_session
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 310620f..d5547fd 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(
@@ -69,10 +69,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):