From 89146e7ac862badfa55fb67e9375ae1d56f6479d Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Wed, 11 Nov 2015 16:30:23 +0300 Subject: [PATCH] Fixed forwarded date offset Closes #955 --- app/js/messages_manager.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/js/messages_manager.js b/app/js/messages_manager.js index 6e1a2e2e..1aab6c4f 100644 --- a/app/js/messages_manager.js +++ b/app/js/messages_manager.js @@ -1060,6 +1060,9 @@ angular.module('myApp.services') } apiMessage.date -= serverTimeOffset; + if (apiMessage.fwd_date) { + apiMessage.fwd_date -= serverTimeOffset; + } apiMessage.toID = toPeerID; apiMessage.fromID = apiMessage.from_id || toPeerID; if (apiMessage.fwd_from_id) {