From d75a05e3fd06053bd83755e5c9e177246d6fc15e Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Thu, 9 Jun 2016 21:28:10 +0300 Subject: [PATCH] Fixed fwd from check --- app/js/services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/services.js b/app/js/services.js index 51975be8..7d9a6288 100755 --- a/app/js/services.js +++ b/app/js/services.js @@ -3161,7 +3161,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) update._ == 'updateEditChannelMessage') { var message = update.message; var toPeerID = AppPeersManager.getPeerID(message.to_id); - var fwdHeader = message.fwdHeader || {}; + var fwdHeader = message.fwd_from || {}; if (message.from_id && !AppUsersManager.hasUser(message.from_id, message.pFlags.post) || fwdHeader.from_id && !AppUsersManager.hasUser(fwdHeader.from_id, !!fwdHeader.channel_id) || fwdHeader.channel_id && !AppChatsManager.hasChat(fwdHeader.channel_id) ||