From 0e988237f6fcb826afc42719adc335dcc7ca0e2e Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Wed, 8 Jul 2015 16:00:08 +0100 Subject: Don't pass a key id when creating a new outbound session --- src/olm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/olm.cpp') diff --git a/src/olm.cpp b/src/olm.cpp index ede9c26..65d0648 100644 --- a/src/olm.cpp +++ b/src/olm.cpp @@ -447,7 +447,7 @@ size_t olm_remove_one_time_keys( OlmSession * session ) { size_t result = from_c(account)->remove_key( - from_c(session)->bob_one_time_key_id + from_c(session)->bob_one_time_key ); if (result == std::size_t(-1)) { from_c(account)->last_error = olm::ErrorCode::BAD_MESSAGE_KEY_ID; -- cgit v1.2.3