From 39a08733094a4dc0870b9a36c182b4009f7811c1 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Tue, 23 Jun 2015 10:03:41 +0100 Subject: This field isn't being used anywhere so don't bother including it in the messages --- include/axolotl/message.hh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') diff --git a/include/axolotl/message.hh b/include/axolotl/message.hh index 5bce277..4d7a1c7 100644 --- a/include/axolotl/message.hh +++ b/include/axolotl/message.hh @@ -79,9 +79,7 @@ struct PreKeyMessageWriter { struct PreKeyMessageReader { std::uint8_t version; - bool has_registration_id; bool has_one_time_key_id; - std::uint32_t registration_id; std::uint32_t one_time_key_id; std::uint8_t const * identity_key; std::size_t identity_key_length; std::uint8_t const * base_key; std::size_t base_key_length; @@ -93,7 +91,6 @@ struct PreKeyMessageReader { * The length of the buffer needed to hold a message. */ std::size_t encode_one_time_key_message_length( - std::uint32_t registration_id, std::uint32_t one_time_key_id, std::size_t identity_key_length, std::size_t base_key_length, @@ -108,7 +105,6 @@ std::size_t encode_one_time_key_message_length( void encode_one_time_key_message( PreKeyMessageWriter & writer, std::uint8_t version, - std::uint32_t registration_id, std::uint32_t one_time_key_id, std::size_t identity_key_length, std::size_t base_key_length, -- cgit v1.2.3