mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 21:33:09 +02:00
parent
874b8fc3c2
commit
2bc708f8e6
2 changed files with 3 additions and 5 deletions
|
@ -207,8 +207,7 @@ export default Vue.extend({
|
|||
this.visibility = this.reply.visibility;
|
||||
}
|
||||
|
||||
// ダイレクトへのリプライはリプライ先ユーザーを初期設定
|
||||
if (this.reply && this.reply.visibility === 'specified') {
|
||||
if (this.reply) {
|
||||
this.$root.api('users/show', { userId: this.reply.userId }).then(user => {
|
||||
this.visibleUsers.push(user);
|
||||
});
|
||||
|
|
|
@ -197,9 +197,8 @@ export default Vue.extend({
|
|||
this.visibility = this.reply.visibility;
|
||||
}
|
||||
|
||||
// ダイレクトへのリプライはリプライ先ユーザーを初期設定
|
||||
if (this.reply && this.reply.visibility === 'specified') {
|
||||
this.$root.api('users/show', { userId: this.reply.userId }).then(user => {
|
||||
if (this.reply) {
|
||||
this.$root.api('users/show', { userId: this.reply.userId }).then(user => {
|
||||
this.visibleUsers.push(user);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue