summaryrefslogtreecommitdiffstats
path: root/webapp/components/more_direct_channels
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-06-15 10:34:20 -0400
committerHarrison Healey <harrisonmhealey@gmail.com>2017-06-15 10:34:20 -0400
commitc0a0065472c199166d32b052dd328b0212f5b693 (patch)
tree1d2ba19bfb9a104a4384a42c1e7a892de60c3fa8 /webapp/components/more_direct_channels
parent0c04c5334fc89cf62a4bd3c1ce20469523a24026 (diff)
downloadchat-c0a0065472c199166d32b052dd328b0212f5b693.tar.gz
chat-c0a0065472c199166d32b052dd328b0212f5b693.tar.bz2
chat-c0a0065472c199166d32b052dd328b0212f5b693.zip
Move user actions over to use redux and v4 (#6649)
Diffstat (limited to 'webapp/components/more_direct_channels')
-rw-r--r--webapp/components/more_direct_channels/more_direct_channels.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/more_direct_channels/more_direct_channels.jsx b/webapp/components/more_direct_channels/more_direct_channels.jsx
index f4134f077..8b5b6d65c 100644
--- a/webapp/components/more_direct_channels/more_direct_channels.jsx
+++ b/webapp/components/more_direct_channels/more_direct_channels.jsx
@@ -12,7 +12,7 @@ import TeamStore from 'stores/team_store.jsx';
import Constants from 'utils/constants.jsx';
import {displayUsernameForUser} from 'utils/utils.jsx';
-import Client from 'client/web_client.jsx';
+import {Client4} from 'mattermost-redux/client';
import PropTypes from 'prop-types';
@@ -227,7 +227,7 @@ export default class MoreDirectChannels extends React.Component {
onClick={() => onAdd(option)}
>
<ProfilePicture
- src={`${Client.getUsersRoute()}/${option.id}/image?time=${option.last_picture_update}`}
+ src={Client4.getProfilePictureUrl(option.id, option.last_picture_update)}
status={`${UserStore.getStatus(option.id)}`}
width='32'
height='32'