frontend-rw #1

Merged
marcin merged 347 commits from frontend-rw into develop 2024-12-05 15:32:18 -08:00
2 changed files with 0 additions and 4 deletions
Showing only changes of commit f542796da5 - Show all commits

View file

@ -26,7 +26,6 @@ const normalizeAccount = (account: BaseAccount) => {
const fqn = account.fqn || guessFqn(account);
const domain = fqn.split('@')[1] || '';
const note = account.note === '<p></p>' ? '' : account.note;
return {
mute_expires_at: null,
@ -37,7 +36,6 @@ const normalizeAccount = (account: BaseAccount) => {
header_static: account.header_static || account.header || missingHeader,
fqn,
domain,
note,
};
};

View file

@ -139,8 +139,6 @@ const normalizeStatus = (status: BaseStatus & {
mentions,
expanded: null,
hidden: null,
/** Rewrite `<p></p>` to empty string. */
content: status.content === '<p></p>' ? '' : status.content,
filtered: status.filtered?.map(result => result.filter.title),
event,
group,