From 63d2851ec7cffe4c3ac2bdedfbfebd87f3053676 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Wed, 4 Jan 2017 09:30:14 -0500 Subject: 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 --- webapp/actions/user_actions.jsx | 1 - 1 file changed, 1 deletion(-) (limited to 'webapp/actions') 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) { -- cgit v1.2.3-1-g7c22