Renamed all clientside references from full_name to nickname

Этот коммит содержится в:
hmhealey
2015-07-09 15:49:23 -04:00
родитель c09f1b9e4e
Коммит 1c7f0be268
8 изменённых файлов: 21 добавлений и 21 удалений

Просмотреть файл

@@ -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} />;
}
}