PLT-3203 Commenting on the RHS while in permalink view makes the message not show up in the RHS (#3282)

Этот коммит содержится в:
enahum
2016-06-07 18:43:36 -03:00
коммит произвёл Joram Wilander
родитель bde4326458
Коммит 3a6694cc6b
5 изменённых файлов: 13 добавлений и 7 удалений

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

@@ -603,7 +603,7 @@ export function getPosts(id) {
);
}
export function getPostsBefore(postId, offset, numPost) {
export function getPostsBefore(postId, offset, numPost, isPost) {
const channelId = ChannelStore.getCurrentId();
if (channelId == null) {
return;
@@ -624,7 +624,8 @@ export function getPostsBefore(postId, offset, numPost) {
id: channelId,
before: true,
numRequested: numPost,
post_list: data
post_list: data,
isPost
});
getProfiles();
@@ -638,7 +639,7 @@ export function getPostsBefore(postId, offset, numPost) {
);
}
export function getPostsAfter(postId, offset, numPost) {
export function getPostsAfter(postId, offset, numPost, isPost) {
const channelId = ChannelStore.getCurrentId();
if (channelId == null) {
return;
@@ -659,7 +660,8 @@ export function getPostsAfter(postId, offset, numPost) {
id: channelId,
before: false,
numRequested: numPost,
post_list: data
post_list: data,
isPost
});
getProfiles();