mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
feat(sharing): Opt Out WIP
First draft of support for opting out of future modal display on specific events, and adds the second barebones target page for sharing.
This commit is contained in:
@@ -377,6 +377,12 @@ var UserSchema = new Schema({
|
||||
// Those importantAnnouncements are in fact the recapture emails
|
||||
importantAnnouncements: {type: Boolean, 'default': true},
|
||||
weeklyRecaps: {type: Boolean, 'default': true}
|
||||
},
|
||||
suppressModals: {
|
||||
levelUp: {type: Boolean, 'default': false},
|
||||
hatchPet: {type: Boolean, 'default': false},
|
||||
raisePet: {type: Boolean, 'default': false},
|
||||
streak: {type: Boolean, 'default': false}
|
||||
}
|
||||
},
|
||||
profile: {
|
||||
|
||||
Reference in New Issue
Block a user