Add replies, private notes, get many threads (#572)

* Add replies, private notes, get many threads

* register multiple route

* filter out moderators in threads
This commit is contained in:
Geometrically
2023-04-13 15:04:08 -07:00
committed by GitHub
parent 0dfebbad9d
commit 969eb67217
5 changed files with 317 additions and 48 deletions

View File

@@ -36,6 +36,9 @@ pub struct ThreadMessage {
pub enum MessageBody {
Text {
body: String,
#[serde(default)]
private: bool,
replying_to: Option<ThreadMessageId>,
},
StatusChange {
new_status: ProjectStatus,