feat: add in_reply_to_url field to FeedRow and ThoughtRow, update related queries and handlers
This commit is contained in:
@@ -15,6 +15,7 @@ pub struct Thought {
|
||||
pub user_id: UserId,
|
||||
pub content: Content,
|
||||
pub in_reply_to_id: Option<ThoughtId>,
|
||||
pub in_reply_to_url: Option<String>,
|
||||
pub visibility: Visibility,
|
||||
pub content_warning: Option<String>,
|
||||
pub sensitive: bool,
|
||||
@@ -66,6 +67,7 @@ impl Thought {
|
||||
user_id: p.user_id,
|
||||
content: p.content,
|
||||
in_reply_to_id: p.in_reply_to_id,
|
||||
in_reply_to_url: None,
|
||||
visibility: p.visibility,
|
||||
content_warning: p.content_warning,
|
||||
sensitive: p.sensitive,
|
||||
|
||||
Reference in New Issue
Block a user