summaryrefslogtreecommitdiffstats
path: root/webapp/components/add_users_to_team
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/add_users_to_team
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/add_users_to_team')
-rw-r--r--webapp/components/add_users_to_team/add_users_to_team.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/add_users_to_team/add_users_to_team.jsx b/webapp/components/add_users_to_team/add_users_to_team.jsx
index ed1a2a29c..691323568 100644
--- a/webapp/components/add_users_to_team/add_users_to_team.jsx
+++ b/webapp/components/add_users_to_team/add_users_to_team.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';
@@ -170,7 +170,7 @@ export default class AddUsersToTeam 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)}
width='32'
height='32'
/>