1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-02-17 07:47:28 -06:00
This commit is contained in:
syuilo 2018-12-23 03:41:28 +09:00 committed by GitHub
parent 874b8fc3c2
commit 2bc708f8e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions
src/client/app
desktop/views/components
mobile/views/components

View file

@ -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);
});

View file

@ -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);
});
}