From 2714378f2261afffcee1885fc32b01abc2271f1c Mon Sep 17 00:00:00 2001 From: silverpill Date: Sat, 10 Dec 2022 18:29:40 +0000 Subject: [PATCH] Don't auto-mention author of a linked post --- src/mastodon_api/statuses/views.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mastodon_api/statuses/views.rs b/src/mastodon_api/statuses/views.rs index d587ac1..7710639 100644 --- a/src/mastodon_api/statuses/views.rs +++ b/src/mastodon_api/statuses/views.rs @@ -106,9 +106,6 @@ async fn create_status( if post.visibility != Visibility::Public { return Err(ValidationError("can't reference non-public post").into()); }; - if post.author.id != current_user.id { - post_data.mentions.push(post.author.id); - }; // Append inline quote post_data.content += &format!( r#"

RE: {0}

"#,