From 0f2bf7fcfed577a035151b8e16b61779103413cf Mon Sep 17 00:00:00 2001 From: Bastard Operator Date: Thu, 31 Dec 2020 12:35:26 +0100 Subject: [PATCH] Don't remove #fedilove at data level (will do at UI level) --- src/routes/_api/timelines.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/routes/_api/timelines.js b/src/routes/_api/timelines.js index 510f43db..c1a0e1bb 100644 --- a/src/routes/_api/timelines.js +++ b/src/routes/_api/timelines.js @@ -97,8 +97,6 @@ export async function getTimeline (instanceName, accessToken, timeline, maxId, s if (item.account === undefined) continue; if (item.account.display_name.toLowerCase().includes('#fedilove')) { - item.account.display_name = - item.account.display_name.replace(/#fedilove/gi, '').trim(); newItems.push(item); } }