From a08dbe56795df7b87ac3f18d26ad660048154db6 Mon Sep 17 00:00:00 2001 From: Darius Date: Thu, 9 Nov 2023 23:38:07 -0500 Subject: [PATCH] chore: change request type --- extensions/warp-ipfs/src/store/mod.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/extensions/warp-ipfs/src/store/mod.rs b/extensions/warp-ipfs/src/store/mod.rs index 3c3b28cf9..18547c448 100644 --- a/extensions/warp-ipfs/src/store/mod.rs +++ b/extensions/warp-ipfs/src/store/mod.rs @@ -148,9 +148,10 @@ pub enum ConversationRequestKind { Replicate, Key, Ping, - RetrieveMessages { - // start/end - range: Option<(Option>, Option>)>, + FetchMessages { + start: DateTime, + end: DateTime, + ignore: Vec, }, WantMessage { message_id: Uuid, @@ -159,7 +160,7 @@ pub enum ConversationRequestKind { #[derive(Clone, Serialize, Deserialize, PartialEq, Eq)] #[allow(clippy::large_enum_variant)] -#[serde(rename_all = "lowercase")] +#[serde(rename_all = "snake_case")] pub enum ConversationResponseKind { Key { key: Vec }, Pong,