Add Test to opt out of username being searchable

This commit is contained in:
Phillip Thelen
2018-11-27 13:20:26 +01:00
parent e9c86622c5
commit 0271d98b91
4 changed files with 9 additions and 3 deletions

View File

@@ -460,6 +460,7 @@ let schema = new Schema({
reverseChatOrder: {$type: Boolean, default: false},
background: String,
displayInviteToPartyWhenPartyIs1: {$type: Boolean, default: true},
searchableUsername: {$type: Boolean, default: true},
webhooks: {$type: Schema.Types.Mixed, default: () => {
return {};
}},