From 9bc53b6734e49023ef52b0bc00101510b237a1e4 Mon Sep 17 00:00:00 2001 From: silverpill Date: Wed, 5 Oct 2022 18:52:06 +0000 Subject: [PATCH] Don't add FEP-e232 link tags to outgoing activities --- src/activitypub/builders/create_note.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/activitypub/builders/create_note.rs b/src/activitypub/builders/create_note.rs index 434485a..4e33494 100644 --- a/src/activitypub/builders/create_note.rs +++ b/src/activitypub/builders/create_note.rs @@ -124,13 +124,14 @@ pub fn build_note( for linked in &post.linked { // Build FEP-e232 object link let link_href = linked.get_object_id(instance_url); - let tag = Tag { + let _tag = Tag { name: Some(format!("RE: {}", link_href)), tag_type: LINK.to_string(), href: Some(link_href), media_type: Some(AP_MEDIA_TYPE.to_string()), }; - tags.push(tag); + // TODO: fix tag processing bug in Pleroma + // tags.push(tag); }; let maybe_quote_url = post.linked.get(0) .map(|linked| linked.get_object_id(instance_url));