Fixing posting bug
Этот коммит содержится в:
@@ -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
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user