this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: Add postviewrequest message

+9 -1
+9 -1
server/src/client_communication.rs
··· 74 74 } 75 75 possibly_json => { 76 76 match serde_json::from_str::<Message>(possibly_json) { 77 + Ok(Message::PostViewRequest { post_id }) => 78 + { 79 + info_elog!( 80 + ev_log, "Post was requested: {}", post_id); 81 + todo!("PostViewRequest not yet implemented!") 82 + } 77 83 Ok(Message::Introduction { client_kind, try_revive }) => { 78 84 match client_kind.as_str() { 79 85 "web" => { ··· 512 518 /// Whether there are more pages available 513 519 has_more: bool, 514 520 }, 515 - 521 + /// User would like to view a post and its details. 522 + #[serde(rename = "post_view_request")] 523 + PostViewRequest { post_id: Uuid }, 516 524 /// "Yeah I don't know what I'm sending either!" 517 525 #[serde(rename = "unknown")] 518 526 Unknown,