add: finish forge stuff
This commit is contained in:
parent
53fb4d5778
commit
68071b96c8
21 changed files with 329 additions and 18 deletions
|
@ -258,6 +258,8 @@ pub struct Post {
|
|||
pub poll_id: usize,
|
||||
/// The title of the post (in communities where titles are enabled).
|
||||
pub title: String,
|
||||
/// If the post is "open". Posts can act as tickets in a forge community.
|
||||
pub is_open: bool,
|
||||
}
|
||||
|
||||
impl Post {
|
||||
|
@ -284,6 +286,7 @@ impl Post {
|
|||
is_deleted: false,
|
||||
poll_id,
|
||||
title: String::new(),
|
||||
is_open: true,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue