diff options
author | Vitaly Takmazov | 2018-06-27 22:35:14 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:53 +0300 |
commit | 43ad3c12adc0372bebeef4cba26645811d1720af (patch) | |
tree | 89a094b805737c2ace05a161ae6c2a2edce6ea6e /vnext/src/api | |
parent | 01f1135df1bbf44217124e78850cf1e12911e01e (diff) |
move tracking pixel url to api
Diffstat (limited to 'vnext/src/api')
-rw-r--r-- | vnext/src/api/index.js | 4 |
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 |