fix: timeline source url

This commit is contained in:
xtaodada 2023-07-20 15:56:07 +08:00
parent 59be2569f4
commit 871d3f4a01
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -22,7 +22,7 @@ from models.services.scheduler import add_delete_file_job, delete_file
def get_note_url(note: Note) -> str:
return note.url or f"{misskey_host}/notes/{note.id}"
return f"{misskey_host}/notes/{note.id}"
def gen_button(note: Note, author: str):