diff options
Diffstat (limited to 'src/services/note/create.ts')
| -rw-r--r-- | src/services/note/create.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/services/note/create.ts b/src/services/note/create.ts index 60a5a5e69d..f506337924 100644 --- a/src/services/note/create.ts +++ b/src/services/note/create.ts @@ -104,6 +104,7 @@ type Option = { apHashtags?: string[] | null; apEmojis?: string[] | null; uri?: string | null; + url?: string | null; app?: App | null; }; @@ -407,6 +408,7 @@ async function insertNote(user: User, data: Option, tags: string[], emojis: stri }); if (data.uri != null) insert.uri = data.uri; + if (data.url != null) insert.url = data.url; // Append mentions data if (mentionedUsers.length > 0) { |