Skip to content
Snippets Groups Projects
Commit c965a0e6 authored by Mark Haines's avatar Mark Haines
Browse files

Call the right c function from Session.matches_inbound. It was calling...

Call the right c function from Session.matches_inbound. It was calling create_inbound_session rather than matches_inbound_session
parent bede3a84
No related branches found
No related tags found
No related merge requests found
......@@ -252,7 +252,7 @@ class Session(object):
def matches_inbound(self, one_time_key_message):
one_time_key_message_buffer = create_string_buffer(one_time_key_message)
return bool(lib.olm_create_inbound_session(
return bool(lib.olm_matches_inbound_session(
self.ptr,
one_time_key_message_buffer, len(one_time_key_message)
))
......
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