Added invite to friends in header, added setting to hide the invite friends, and localized the invite friends string

This commit is contained in:
TheHollidayInn
2015-04-30 18:05:11 -05:00
parent 39cb9bfb99
commit 5513061d80
6 changed files with 12 additions and 3 deletions

View File

@@ -314,6 +314,7 @@ var UserSchema = new Schema({
advancedCollapsed: {type: Boolean, 'default': false},
toolbarCollapsed: {type:Boolean, 'default':false},
background: String,
displayInviteToPartyWhenPartyIs1: { type:Boolean, 'default':true},
webhooks: {type: Schema.Types.Mixed, 'default': {}},
// For this fields make sure to use strict comparison when searching for falsey values (=== false)
// As users who didn't login after these were introduced may have them undefined/null