Don't remove #fedilove at data level (will do at UI level)
This commit is contained in:
parent
f4677e45f4
commit
0f2bf7fcfe
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue