mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe
synced 2025-05-10 22:49:14 +08:00
Smarter scope copy
This commit is contained in:
parent
3dac486688
commit
7af3ef4913
1 changed files with 3 additions and 1 deletions
|
@ -119,7 +119,9 @@ const PostStatusForm = {
|
|||
statusText = buildMentionsString({ user: this.repliedUser, attentions: this.attentions }, currentUser)
|
||||
}
|
||||
|
||||
const scope = ((this.copyMessageScope && scopeCopy) || this.copyMessageScope === 'direct')
|
||||
const scope = (this.copyMessageScope && (
|
||||
(this.copyMessageScope !== 'public' && this.$store.state.users.currentUser.default_scope !== 'private' && scopeCopy) ||
|
||||
this.copyMessageScope === 'direct'))
|
||||
? this.copyMessageScope
|
||||
: this.$store.state.users.currentUser.default_scope
|
||||
|
||||
|
|
Loading…
Reference in a new issue