diff options
Diffstat (limited to 'webapp/components/more_direct_channels')
-rw-r--r-- | webapp/components/more_direct_channels/more_direct_channels.jsx | 4 |
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' |