mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 20:53:09 +02:00
Send original URL for quote (#3668)
This commit is contained in:
parent
0fed33bfdb
commit
5417e40f59
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;
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue