From c965a0e619c6343b76b83276ba46a7fe1e9552ad Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Wed, 15 Jul 2015 12:45:50 +0100 Subject: Call the right c function from Session.matches_inbound. It was calling create_inbound_session rather than matches_inbound_session --- python/olm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) )) -- cgit v1.2.3