Also try URI for remote note links
This commit is contained in:
parent
b35a8cb9a2
commit
a2954851e0
|
@ -118,11 +118,11 @@ export function getCopyNoteLinkMenu(note: misskey.entities.Note, text: string):
|
|||
}
|
||||
|
||||
export function getCopyNoteLinkRemoteMenu(note: misskey.entities.Note, text: string): MenuItem {
|
||||
return note.url ? {
|
||||
return (note.url || note.uri) ? {
|
||||
icon: 'ti ti-link',
|
||||
text,
|
||||
action: (): void => {
|
||||
copyToClipboard(note.url);
|
||||
copyToClipboard(note.url || note.uri);
|
||||
os.success();
|
||||
},
|
||||
} : undefined;
|
||||
|
|
Loading…
Reference in New Issue