diff --git a/src/mastodon_api/statuses/views.rs b/src/mastodon_api/statuses/views.rs index e6c8faf..6fca209 100644 --- a/src/mastodon_api/statuses/views.rs +++ b/src/mastodon_api/statuses/views.rs @@ -113,10 +113,12 @@ async fn create_status( }; // Append inline quote and add author to mentions post_data.content += &format!( - r#"

RE: {0}

"#, + r#"

RE: {0}

"#, linked.get_object_id(&instance.url()), ); - post_data.mentions.push(linked.author.id); + if linked.author.id != current_user.id { + post_data.mentions.push(linked.author.id); + }; vec![linked] }, _ => return Err(ValidationError("too many links").into()),