mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-03 21:03:08 +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;
|
this.visibility = this.reply.visibility;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ダイレクトへのリプライはリプライ先ユーザーを初期設定
|
if (this.reply) {
|
||||||
if (this.reply && this.reply.visibility === 'specified') {
|
|
||||||
this.$root.api('users/show', { userId: this.reply.userId }).then(user => {
|
this.$root.api('users/show', { userId: this.reply.userId }).then(user => {
|
||||||
this.visibleUsers.push(user);
|
this.visibleUsers.push(user);
|
||||||
});
|
});
|
||||||
|
|
|
@ -197,9 +197,8 @@ export default Vue.extend({
|
||||||
this.visibility = this.reply.visibility;
|
this.visibility = this.reply.visibility;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ダイレクトへのリプライはリプライ先ユーザーを初期設定
|
if (this.reply) {
|
||||||
if (this.reply && this.reply.visibility === 'specified') {
|
this.$root.api('users/show', { userId: this.reply.userId }).then(user => {
|
||||||
this.$root.api('users/show', { userId: this.reply.userId }).then(user => {
|
|
||||||
this.visibleUsers.push(user);
|
this.visibleUsers.push(user);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue