Call the right c function from Session.matches_inbound. It was calling create_inbound_session rather than matches_inbound_session
This commit is contained in:
parent
bede3a8499
commit
c965a0e619
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ class Session(object):
|
||||||
|
|
||||||
def matches_inbound(self, one_time_key_message):
|
def matches_inbound(self, one_time_key_message):
|
||||||
one_time_key_message_buffer = create_string_buffer(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,
|
self.ptr,
|
||||||
one_time_key_message_buffer, len(one_time_key_message)
|
one_time_key_message_buffer, len(one_time_key_message)
|
||||||
))
|
))
|
||||||
|
|
Loading…
Reference in a new issue