mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
POST request toggling opt deleted, changed to PUT /user
This commit is contained in:
@@ -312,7 +312,7 @@ export default {
|
||||
return conversation.name.toLowerCase().indexOf(this.search.toLowerCase()) !== -1;
|
||||
});
|
||||
},
|
||||
optTextSet() {
|
||||
optTextSet () {
|
||||
if (!this.user.inbox.optOut) {
|
||||
return {
|
||||
switchDescription: this.$t('PMDisableFull'),
|
||||
@@ -323,14 +323,14 @@ export default {
|
||||
switchDescription: this.$t('PMEnableFull'),
|
||||
popoverText: this.$t('PMDisabledOptPopoverText'),
|
||||
};
|
||||
}
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
toggleClick () {
|
||||
this.displayCreate = !this.displayCreate;
|
||||
},
|
||||
toggleOpt(){
|
||||
this.$store.dispatch('members:togglePrivateMessagesOpt');
|
||||
toggleOpt () {
|
||||
this.$store.dispatch('user:togglePrivateMessagesOpt');
|
||||
},
|
||||
selectConversation (key) {
|
||||
let convoFound = this.conversations.find((conversation) => {
|
||||
|
||||
Reference in New Issue
Block a user