mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-05 16:24:41 +09:00
@ -128,7 +128,7 @@ export default defineComponent({
|
||||
type: Boolean,
|
||||
required: false
|
||||
},
|
||||
visibleUsers: {
|
||||
initialVisibleUsers: {
|
||||
type: Array,
|
||||
required: false,
|
||||
default: () => []
|
||||
@ -167,6 +167,7 @@ export default defineComponent({
|
||||
cw: null,
|
||||
localOnly: this.$store.state.rememberNoteVisibility ? this.$store.state.localOnly : this.$store.state.defaultNoteLocalOnly,
|
||||
visibility: (this.$store.state.rememberNoteVisibility ? this.$store.state.visibility : this.$store.state.defaultNoteVisibility) as typeof noteVisibilities[number],
|
||||
visibleUsers: [],
|
||||
autocomplete: null,
|
||||
draghover: false,
|
||||
quoteId: null,
|
||||
@ -273,6 +274,10 @@ export default defineComponent({
|
||||
this.localOnly = this.initialLocalOnly;
|
||||
}
|
||||
|
||||
if (this.initialVisibleUsers) {
|
||||
this.visibleUsers = this.initialVisibleUsers;
|
||||
}
|
||||
|
||||
if (this.mention) {
|
||||
this.text = this.mention.host ? `@${this.mention.username}@${toASCII(this.mention.host)}` : `@${this.mention.username}`;
|
||||
this.text += ' ';
|
||||
|
Reference in New Issue
Block a user