From 0465aaf0c7b75d5b5652502ce014e9e606ec3e27 Mon Sep 17 00:00:00 2001 From: silverpill Date: Sun, 18 Dec 2022 17:39:00 +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 cd1d5d9..a2d5936 100644 --- a/src/mastodon_api/statuses/views.rs +++ b/src/mastodon_api/statuses/views.rs @@ -134,9 +134,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); - }; post_data.links.push(post.id); linked.push(post); };