summaryrefslogtreecommitdiffstats
path: root/webapp/client
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-12-23 10:32:30 -0500
committerGitHub <noreply@github.com>2016-12-23 10:32:30 -0500
commit217cdf447a995fd8f2700b14ba790360ccaeabf6 (patch)
treeca0b01c4cd869fbadd1d5a831b5775ca9dc066dc /webapp/client
parentffd6ccde2ed4b1d374d0835c5638a189df60a679 (diff)
downloadchat-217cdf447a995fd8f2700b14ba790360ccaeabf6.tar.gz
chat-217cdf447a995fd8f2700b14ba790360ccaeabf6.tar.bz2
chat-217cdf447a995fd8f2700b14ba790360ccaeabf6.zip
PLT-5073 Improve performance of /channels/view endpoint (#4881)
* Improve performance of /channels/view endpoint * Fix store unit test
Diffstat (limited to 'webapp/client')
-rw-r--r--webapp/client/client.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/client/client.jsx b/webapp/client/client.jsx
index 782b74571..0c4e04524 100644
--- a/webapp/client/client.jsx
+++ b/webapp/client/client.jsx
@@ -1397,7 +1397,7 @@ export default class Client {
end(this.handleResponse.bind(this, 'updateLastViewedAt', success, error));
}
- // SCHEDULED FOR DEPRECATION IN 3.8 - use viewChannel instead
+ // SCHEDULED FOR DEPRECATION IN 3.8
setLastViewedAt(channelId, lastViewedAt, success, error) {
request.
post(`${this.getChannelNeededRoute(channelId)}/set_last_viewed_at`).