aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-07-15 12:45:50 +0100
committerMark Haines <mark.haines@matrix.org>2015-07-15 12:45:50 +0100
commitc965a0e619c6343b76b83276ba46a7fe1e9552ad (patch)
tree225d74b3b50f1f2de4fe1580d2d8321320dac243 /python
parentbede3a84998f74d0d4da93bb6017712630c72857 (diff)
Call the right c function from Session.matches_inbound. It was calling create_inbound_session rather than matches_inbound_session
Diffstat (limited to 'python')
-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)
))