Skip to content

Commit

Permalink
chore: change request type
Browse files Browse the repository at this point in the history
  • Loading branch information
dariusc93 committed Nov 10, 2023
1 parent ada9f31 commit a08dbe5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions extensions/warp-ipfs/src/store/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,10 @@ pub enum ConversationRequestKind {
Replicate,
Key,
Ping,
RetrieveMessages {
// start/end
range: Option<(Option<DateTime<Utc>>, Option<DateTime<Utc>>)>,
FetchMessages {
start: DateTime<Utc>,
end: DateTime<Utc>,
ignore: Vec<Uuid>,
},
WantMessage {
message_id: Uuid,
Expand All @@ -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<u8> },
Pong,
Expand Down

0 comments on commit a08dbe5

Please sign in to comment.