summaryrefslogtreecommitdiffstats
path: root/web/react/components/channel_header.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/components/channel_header.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/components/channel_header.jsx')
-rw-r--r--web/react/components/channel_header.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/channel_header.jsx b/web/react/components/channel_header.jsx
index 2e430489f..30435dc08 100644
--- a/web/react/components/channel_header.jsx
+++ b/web/react/components/channel_header.jsx
@@ -153,7 +153,7 @@ module.exports = React.createClass({
if (isDirect) {
if (this.state.users.length > 1) {
var contact = this.state.users[((this.state.users[0].id === currentId) ? 1 : 0)];
- channelTitle = <UserProfile userId={contact.id} overwriteName={contact.full_name || contact.username} />;
+ channelTitle = <UserProfile userId={contact.id} overwriteName={contact.nickname || contact.username} />;
}
}