aboutsummaryrefslogtreecommitdiff
path: root/python/olm.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/olm.py')
-rwxr-xr-xpython/olm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/olm.py b/python/olm.py
index c210055..8d484fc 100755
--- a/python/olm.py
+++ b/python/olm.py
@@ -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)
))