diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-06-23 10:03:41 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-06-23 10:03:41 +0100 |
commit | 39a08733094a4dc0870b9a36c182b4009f7811c1 (patch) | |
tree | c735c6a9a77d484e2a416d6a4b5a4ba617c861da /include | |
parent | 3f475ab2f875303bc4e097c74ff843fc5af60ed4 (diff) |
This field isn't being used anywhere so don't bother including it in the messages
Diffstat (limited to 'include')
-rw-r--r-- | include/axolotl/message.hh | 4 |
1 files changed, 0 insertions, 4 deletions
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, |