mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 09:57:29 -07:00
[mastodon-client] Add missing semicolon
This commit is contained in:
parent
734c6685f7
commit
b6ee1c5dc4
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ export class NoteConverter {
|
||||||
return renote.url ?? renote.uri ?? `${config.url}/notes/${renote.id}`;
|
return renote.url ?? renote.uri ?? `${config.url}/notes/${renote.id}`;
|
||||||
});
|
});
|
||||||
|
|
||||||
const text = quoteUri.then(quoteUri => note.text !== null ? quoteUri !== null ? note.text.replaceAll(`RE: ${quoteUri}`, '').replaceAll(quoteUri, '').trimEnd() : note.text : null)
|
const text = quoteUri.then(quoteUri => note.text !== null ? quoteUri !== null ? note.text.replaceAll(`RE: ${quoteUri}`, '').replaceAll(quoteUri, '').trimEnd() : note.text : null);
|
||||||
|
|
||||||
const content = text.then(text => text !== null
|
const content = text.then(text => text !== null
|
||||||
? quoteUri.then(quoteUri => MfmHelpers.toHtml(mfm.parse(text), JSON.parse(note.mentionedRemoteUsers), note.userHost, false, quoteUri))
|
? quoteUri.then(quoteUri => MfmHelpers.toHtml(mfm.parse(text), JSON.parse(note.mentionedRemoteUsers), note.userHost, false, quoteUri))
|
||||||
|
|
Loading…
Reference in a new issue