|
|
@ -3682,14 +3682,9 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) |
|
|
|
if (!started) { |
|
|
|
if (!started) { |
|
|
|
started = true; |
|
|
|
started = true; |
|
|
|
setTimeout(getStickers, 1000); |
|
|
|
setTimeout(getStickers, 1000); |
|
|
|
setInterval(preloadStickers, 900000); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function preloadStickers() { |
|
|
|
|
|
|
|
getStickers().then(getStickersImages); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function processRawStickers(stickers) { |
|
|
|
function processRawStickers(stickers) { |
|
|
|
if (applied !== stickers.hash) { |
|
|
|
if (applied !== stickers.hash) { |
|
|
|
applied = stickers.hash; |
|
|
|
applied = stickers.hash; |
|
|
|