mirror of
https://github.com/logos-messaging/chat_proto.git
synced 2026-02-21 05:23:10 +00:00
clean up
This commit is contained in:
parent
e34c2605ba
commit
2fc0a52b6b
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/rust/target
|
||||
@ -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")]
|
||||
|
||||
@ -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<inbox_v1_frame::FrameType>,
|
||||
}
|
||||
/// 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)
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user