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 --- include/olm/account.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/olm/account.hh') diff --git a/include/olm/account.hh b/include/olm/account.hh index 552f069..cf886d1 100644 --- a/include/olm/account.hh +++ b/include/olm/account.hh @@ -112,13 +112,14 @@ struct Account { std::uint8_t * one_time_json, std::size_t one_time_json_length ); - /** Lookup a one_time key with the given key-id */ + /** Lookup a one time key with the given public key */ OneTimeKey const * lookup_key( Curve25519PublicKey const & public_key ); + /** Remove a one time key with the given public key */ std::size_t remove_key( - std::uint32_t id + Curve25519PublicKey const & public_key ); }; -- cgit v1.2.3