summaryrefslogtreecommitdiffstats
path: root/webapp/actions/user_actions.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2017-01-04 09:30:14 -0500
committerCorey Hulen <corey@hulen.com>2017-01-04 09:30:14 -0500
commit63d2851ec7cffe4c3ac2bdedfbfebd87f3053676 (patch)
treeca5f5cc898b0f7f8b3ab615706a43bc3e72eda84 /webapp/actions/user_actions.jsx
parentc0a5f9fbef710173b6b8933252cc97fe1109c09b (diff)
downloadchat-63d2851ec7cffe4c3ac2bdedfbfebd87f3053676.tar.gz
chat-63d2851ec7cffe4c3ac2bdedfbfebd87f3053676.tar.bz2
chat-63d2851ec7cffe4c3ac2bdedfbfebd87f3053676.zip
PLT-5109/PLT-5112 Fixed commented out unit tests (#4951)
* Removed note about unconfirmed race condition * Fixed unit tests in client_channel.test.jsx * Fixed updateActive unit test on client
Diffstat (limited to 'webapp/actions/user_actions.jsx')
-rw-r--r--webapp/actions/user_actions.jsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/webapp/actions/user_actions.jsx b/webapp/actions/user_actions.jsx
index b666413d9..15626db2b 100644
--- a/webapp/actions/user_actions.jsx
+++ b/webapp/actions/user_actions.jsx
@@ -136,7 +136,6 @@ function populateDMChannelsWithProfiles(userIds) {
const currentUserId = UserStore.getCurrentId();
for (let i = 0; i < userIds.length; i++) {
- // TODO There's a race condition here for DM channels if those channels aren't loaded yet
const channelName = getDirectChannelName(currentUserId, userIds[i]);
const channel = ChannelStore.getByName(channelName);
if (channel) {