fixed critical bug in msg forward - 0.6.20

This commit is contained in:
John Preston
2014-12-13 02:34:50 +03:00
parent 3a73ece59d
commit fc73ff2ea0
8 changed files with 16 additions and 16 deletions
+3 -3
View File
@@ -17,8 +17,8 @@ Copyright (c) 2014 John Preston, https://desktop.telegram.org
*/
#pragma once
static const int32 AppVersion = 6019;
static const wchar_t *AppVersionStr = L"0.6.19";
static const int32 AppVersion = 6020;
static const wchar_t *AppVersionStr = L"0.6.20";
static const wchar_t *AppNameOld = L"Telegram Win (Unofficial)";
static const wchar_t *AppName = L"Telegram Desktop";
@@ -26,7 +26,7 @@ static const wchar_t *AppName = L"Telegram Desktop";
static const wchar_t *AppId = L"{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"; // used in updater.cpp and Setup.iss for Windows
static const wchar_t *AppFile = L"Telegram";
static const int32 FeaturesNotifyVersion = 6019;
static const int32 FeaturesNotifyVersion = 6020;
static const int32 FeaturesNotifyVersionFrom = 6017;
extern const char *FeaturesNotify;
+1 -1
View File
@@ -20,7 +20,7 @@ Copyright (c) 2014 John Preston, https://desktop.telegram.org
#include "pspecific.h"
const char *FeaturesNotify = "\
Telegram Desktop was updated to version 0.6.18\n\
Telegram Desktop was updated to version 0.6.20\n\
\n\
\xe2\x80\x94 Single-column layout support added for small chat window.\n\
\xe2\x80\x94 Photos are sent up to 1280x1280 size.\n\
+1 -1
View File
@@ -452,7 +452,7 @@ void MainWidget::offerPeer(PeerId peer) {
void MainWidget::onForwardCancel(QObject *obj) {
if (!obj || obj == _forwardConfirm) {
if (_forwardConfirm) {
_forwardConfirm->startHide();
if (!obj) _forwardConfirm->startHide();
_forwardConfirm = 0;
}
if (hider) hider->offerPeer(0);