Skip to content

Commit

Permalink
Merge pull request mattermost#2531 from mattermost/websocket-fix
Browse files Browse the repository at this point in the history
Removing extranious this in websockets.
  • Loading branch information
hmhealey committed Mar 24, 2016
2 parents 51c86d7 + 2717fff commit b667f03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action_creators/websocket_actions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export function sendMessage(msg) {
conn.send(JSON.stringify(msg));
} else if (!conn || conn.readyState === WebSocket.Closed) {
conn = null;
this.initialize();
initialize();
}
}

Expand Down

0 comments on commit b667f03

Please sign in to comment.