mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
fixed critical bug in msg forward - 0.6.20
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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\
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user