From 2fc0a52b6b8e83d1acb9b336a3a51bf4ab171d82 Mon Sep 17 00:00:00 2001 From: Jazz Turner-Baggs <473256+jazzz@users.noreply.github.com> Date: Wed, 14 Jan 2026 23:18:25 -0800 Subject: [PATCH] clean up --- .gitignore | 1 + gen/rust/src/logoschat/encryption/logoschat.encryption.rs | 1 + gen/rust/src/logoschat/inbox/logoschat.inbox.rs | 8 ++------ protos/encryption.proto | 2 +- protos/inbox.proto | 4 +--- 5 files changed, 6 insertions(+), 10 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0fe5239 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/rust/target diff --git a/gen/rust/src/logoschat/encryption/logoschat.encryption.rs b/gen/rust/src/logoschat/encryption/logoschat.encryption.rs index ee70cea..9182844 100644 --- a/gen/rust/src/logoschat/encryption/logoschat.encryption.rs +++ b/gen/rust/src/logoschat/encryption/logoschat.encryption.rs @@ -46,6 +46,7 @@ pub struct Xk0 { pub initiator_ephemeral: ::prost::bytes::Bytes, #[prost(bytes="bytes", tag="3")] pub responder_static: ::prost::bytes::Bytes, + /// Replace with RKI to save bytes #[prost(bytes="bytes", tag="4")] pub responder_ephemeral: ::prost::bytes::Bytes, #[prost(bytes="bytes", tag="5")] diff --git a/gen/rust/src/logoschat/inbox/logoschat.inbox.rs b/gen/rust/src/logoschat/inbox/logoschat.inbox.rs index a08b290..c80d6fe 100644 --- a/gen/rust/src/logoschat/inbox/logoschat.inbox.rs +++ b/gen/rust/src/logoschat/inbox/logoschat.inbox.rs @@ -7,19 +7,15 @@ pub struct Note { } #[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)] pub struct InboxV1Frame { - #[prost(string, tag="1")] - pub recipient: ::prost::alloc::string::String, - #[prost(oneof="inbox_v1_frame::FrameType", tags="10, 11")] + #[prost(oneof="inbox_v1_frame::FrameType", tags="1")] pub frame_type: ::core::option::Option, } /// Nested message and enum types in `InboxV1Frame`. pub mod inbox_v1_frame { #[derive(Clone, PartialEq, Eq, Hash, ::prost::Oneof)] pub enum FrameType { - #[prost(message, tag="10")] + #[prost(message, tag="1")] InvitePrivateV1(super::super::invite::InvitePrivateV1), - #[prost(message, tag="11")] - Note(super::Note), } } // @@protoc_insertion_point(module) diff --git a/protos/encryption.proto b/protos/encryption.proto index b7eb6f7..58b7b43 100644 --- a/protos/encryption.proto +++ b/protos/encryption.proto @@ -30,6 +30,6 @@ message XK0 { bytes initiator_static = 1; bytes initiator_ephemeral = 2; bytes responder_static = 3; - bytes responder_ephemeral = 4; + bytes responder_ephemeral = 4; // Replace with RKI to save bytes bytes payload = 5; } diff --git a/protos/inbox.proto b/protos/inbox.proto index 1159eb7..5786fce 100644 --- a/protos/inbox.proto +++ b/protos/inbox.proto @@ -9,9 +9,7 @@ message Note{ } message InboxV1Frame { - string recipient = 1; oneof frame_type { - invite.InvitePrivateV1 invite_private_v1 = 10; - Note note = 11; + invite.InvitePrivateV1 invite_private_v1 = 1; } }