Allow object links in replies
This commit is contained in:
parent
81f8c0e60b
commit
01305475c3
1 changed files with 0 additions and 3 deletions
|
@ -148,9 +148,6 @@ async fn create_status(
|
|||
};
|
||||
};
|
||||
if post_data.links.len() > 0 {
|
||||
if post_data.in_reply_to_id.is_some() {
|
||||
return Err(ValidationError("can't add links to reply").into());
|
||||
};
|
||||
if post_data.visibility != Visibility::Public {
|
||||
return Err(ValidationError("can't add links to non-public posts").into());
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue