aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/api')
-rw-r--r--vnext/src/api/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/vnext/src/api/index.js b/vnext/src/api/index.js
index 591f874a..00605d87 100644
--- a/vnext/src/api/index.js
+++ b/vnext/src/api/index.js
@@ -75,4 +75,8 @@ export function facebookLink() {
export function vkLink() {
return socialLink('vk');
+}
+
+export function markReadTracker(msg, visitor) {
+ return `${apiBaseUrl}/thread/mark_read/${msg.mid}-${msg.rid || 0}.gif?hash=${visitor.hash}`;
} \ No newline at end of file