summaryrefslogtreecommitdiffstats
path: root/models/users.js
diff options
context:
space:
mode:
Diffstat (limited to 'models/users.js')
-rw-r--r--models/users.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/models/users.js b/models/users.js
index 3bb7324f..89220a11 100644
--- a/models/users.js
+++ b/models/users.js
@@ -57,9 +57,9 @@ Users.helpers({
return _.contains(notifications, activityId);
},
- getEmailCache() {
- const {emailCache = []} = this.profile;
- return emailCache;
+ getEmailBuffer() {
+ const {emailBuffer = []} = this.profile;
+ return emailBuffer;
},
getInitials() {
@@ -153,18 +153,18 @@ Users.mutations({
};
},
- addEmailCache(text) {
+ addEmailBuffer(text) {
return {
$addToSet: {
- 'profile.emailCache': text,
+ 'profile.emailBuffer': text,
},
};
},
- clearEmailCache() {
+ clearEmailBuffer() {
return {
$set: {
- 'profile.emailCache': [],
+ 'profile.emailBuffer': [],
},
};
},