You've already forked AstralRinth
forked from didirus/AstralRinth
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:
@@ -9,6 +9,7 @@ pub struct ThreadBuilder {
|
||||
pub members: Vec<UserId>,
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Thread {
|
||||
pub id: ThreadId,
|
||||
pub type_: ThreadType,
|
||||
@@ -23,7 +24,7 @@ pub struct ThreadMessageBuilder {
|
||||
pub show_in_mod_inbox: bool,
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
#[derive(Deserialize, Clone)]
|
||||
pub struct ThreadMessage {
|
||||
pub id: ThreadMessageId,
|
||||
pub thread_id: ThreadId,
|
||||
|
||||
Reference in New Issue
Block a user