summaryrefslogtreecommitdiffstats
path: root/web/react/stores/user_store.jsx
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-07-09 15:49:23 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-07-17 15:13:31 -0400
commit1c7f0be268046d2b509e23268eebcbbef78c5a24 (patch)
tree5da2b715ed681f2ec53bc7098f789803b3906d97 /web/react/stores/user_store.jsx
parentc09f1b9e4e5638080622ff9aa70735db382a16df (diff)
downloadchat-1c7f0be268046d2b509e23268eebcbbef78c5a24.tar.gz
chat-1c7f0be268046d2b509e23268eebcbbef78c5a24.tar.bz2
chat-1c7f0be268046d2b509e23268eebcbbef78c5a24.zip
Renamed all clientside references from full_name to nickname
Diffstat (limited to 'web/react/stores/user_store.jsx')
-rw-r--r--web/react/stores/user_store.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/stores/user_store.jsx b/web/react/stores/user_store.jsx
index dd207ca80..c293469e5 100644
--- a/web/react/stores/user_store.jsx
+++ b/web/react/stores/user_store.jsx
@@ -180,8 +180,8 @@ var UserStore = assign({}, EventEmitter.prototype, {
if (user && user.notify_props && user.notify_props.mention_keys) {
var keys = user.notify_props.mention_keys.split(',');
- if (user.full_name.length > 0 && user.notify_props.first_name === "true") {
- var first = user.full_name.split(' ')[0];
+ if (user.nickname.length > 0 && user.notify_props.first_name === "true") {
+ var first = user.nickname.split(' ')[0];
if (first.length > 0) keys.push(first);
}