enhance(client): DM作成時にメンションも含むように
This commit is contained in:
parent
1ef6bec133
commit
0554dd8375
3 changed files with 14 additions and 2 deletions
|
@ -422,6 +422,10 @@ function pushVisibleUser(user) {
|
|||
function addVisibleUser() {
|
||||
os.selectUser().then(user => {
|
||||
pushVisibleUser(user);
|
||||
|
||||
if (!text.includes(`@${user.username}`)) {
|
||||
text = `@${Acct.toString(user)} ${text}`;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue