mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 16:03:10 +02:00
Merge branch 'develop' of https://github.com/syuilo/misskey into develop
This commit is contained in:
commit
ad869d7469
1 changed files with 2 additions and 3 deletions
|
@ -102,10 +102,9 @@ export default async function renderNote(note: INote, dive = true): Promise<any>
|
||||||
|
|
||||||
let apText = text;
|
let apText = text;
|
||||||
|
|
||||||
if (note.renoteId != null) {
|
if (quote) {
|
||||||
if (apText == null) apText = '';
|
if (apText == null) apText = '';
|
||||||
const url = `${config.url}/notes/${note.renoteId}`;
|
apText += `\n\nRE: ${quote}`;
|
||||||
apText += `\n\nRE: ${url}`;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const summary = note.cw === '' ? String.fromCharCode(0x200B) : note.cw;
|
const summary = note.cw === '' ? String.fromCharCode(0x200B) : note.cw;
|
||||||
|
|
Loading…
Reference in a new issue