diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-07-15 12:45:50 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-07-15 12:45:50 +0100 |
commit | c965a0e619c6343b76b83276ba46a7fe1e9552ad (patch) | |
tree | 225d74b3b50f1f2de4fe1580d2d8321320dac243 /python/olm.py | |
parent | bede3a84998f74d0d4da93bb6017712630c72857 (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/olm.py')
-rwxr-xr-x | python/olm.py | 2 |
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) )) |