Don't remove #fedilove at data level (will do at UI level)

This commit is contained in:
Bofh 2020-12-31 12:35:26 +01:00
parent f4677e45f4
commit 0f2bf7fcfe
1 changed files with 0 additions and 2 deletions

View File

@ -97,8 +97,6 @@ export async function getTimeline (instanceName, accessToken, timeline, maxId, s
if (item.account === undefined) if (item.account === undefined)
continue; continue;
if (item.account.display_name.toLowerCase().includes('#fedilove')) { if (item.account.display_name.toLowerCase().includes('#fedilove')) {
item.account.display_name =
item.account.display_name.replace(/#fedilove/gi, '').trim();
newItems.push(item); newItems.push(item);
} }
} }