diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-12-19 06:05:47 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-12-19 06:05:47 +0900 |
| commit | ad869d7469e4f5477e3d4229fd012c9822100852 (patch) | |
| tree | c0149108c7fc745d5c0e239576f82c4b9f468f10 /src | |
| parent | [Client] Show more images (diff) | |
| parent | Send original URL for quote (#3668) (diff) | |
| download | misskey-ad869d7469e4f5477e3d4229fd012c9822100852.tar.gz misskey-ad869d7469e4f5477e3d4229fd012c9822100852.tar.bz2 misskey-ad869d7469e4f5477e3d4229fd012c9822100852.zip | |
Merge branch 'develop' of https://github.com/syuilo/misskey into develop
Diffstat (limited to 'src')
| -rw-r--r-- | src/remote/activitypub/renderer/note.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/remote/activitypub/renderer/note.ts b/src/remote/activitypub/renderer/note.ts index a84925814b..4bb2281dad 100644 --- a/src/remote/activitypub/renderer/note.ts +++ b/src/remote/activitypub/renderer/note.ts @@ -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; |