Этот коммит содержится в:
=Corey Hulen
2016-04-21 23:06:20 -07:00
родитель 4796d5edd8
Коммит f0be4a0985

Просмотреть файл

@@ -223,10 +223,15 @@ export function emitPostRecievedEvent(post, msg) {
AsyncClient.getChannel(post.channel_id); AsyncClient.getChannel(post.channel_id);
} }
var websocketMessageProps = null;
if (msg) {
websocketMessageProps = msg.props;
}
AppDispatcher.handleServerAction({ AppDispatcher.handleServerAction({
type: ActionTypes.RECEIVED_POST, type: ActionTypes.RECEIVED_POST,
post, post,
websocketMessageProps: msg.props websocketMessageProps
}); });
} }