summaryrefslogtreecommitdiffstats
path: root/webapp/utils
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-06-07 18:43:36 -0300
committerJoram Wilander <jwawilander@gmail.com>2016-06-07 17:43:36 -0400
commit3a6694cc6b52ba0022a92373df9f07b7bf080240 (patch)
tree88a5dbeab00fbd64bd16d732a039d074735b069c /webapp/utils
parentbde432645882c2c328fd3821c8dbcd968677a13a (diff)
downloadchat-3a6694cc6b52ba0022a92373df9f07b7bf080240.tar.gz
chat-3a6694cc6b52ba0022a92373df9f07b7bf080240.tar.bz2
chat-3a6694cc6b52ba0022a92373df9f07b7bf080240.zip
PLT-3203 Commenting on the RHS while in permalink view makes the message not show up in the RHS (#3282)
Diffstat (limited to 'webapp/utils')
-rw-r--r--webapp/utils/async_client.jsx10
1 files changed, 6 insertions, 4 deletions
diff --git a/webapp/utils/async_client.jsx b/webapp/utils/async_client.jsx
index 6f5f8a2cd..65cb2d258 100644
--- a/webapp/utils/async_client.jsx
+++ b/webapp/utils/async_client.jsx
@@ -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();