enhance(client): DM作成時にメンションも含むように
This commit is contained in:
@@ -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}`;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user