parent
331305e6c7
commit
356225af14
7 changed files with 33 additions and 8 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue