mirror of https://git.matrix.org/git/olm.git
Call the right c function from Session.matches_inbound. It was calling create_inbound_session rather than matches_inbound_session
parent
bede3a8499
commit
c965a0e619
|
@ -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)
|
||||
))
|
||||
|
|
Loading…
Reference in New Issue