mirror of
https://github.com/Xtao-Labs/misskey2telegram.git
synced 2024-11-25 22:59:19 +00:00
fix: timeline source url
This commit is contained in:
parent
59be2569f4
commit
871d3f4a01
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user