1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-03 00:25:57 +09:00

Merge branch 'develop' of https://github.com/syuilo/misskey into develop

This commit is contained in:
syuilo 2018-12-19 06:05:47 +09:00
commit ad869d7469
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -102,10 +102,9 @@ export default async function renderNote(note: INote, dive = true): Promise<any>
let apText = text;
if (note.renoteId != null) {
if (quote) {
if (apText == null) apText = '';
const url = `${config.url}/notes/${note.renoteId}`;
apText += `\n\nRE: ${url}`;
apText += `\n\nRE: ${quote}`;
}
const summary = note.cw === '' ? String.fromCharCode(0x200B) : note.cw;