mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Closed beta 1.2.8.3.
This commit is contained in:
@@ -3799,7 +3799,10 @@ void ApiWrap::readFeeds() {
|
||||
auto delay = kFeedReadTimeout;
|
||||
const auto now = getms(true);
|
||||
for (auto i = begin(_feedReadsDelayed); i != end(_feedReadsDelayed);) {
|
||||
const auto [feed, time] = *i;
|
||||
const auto feed = i->first;
|
||||
const auto time = i->second;
|
||||
// Clang fails to capture structure-binded feed to lambda :(
|
||||
//const auto [feed, time] = *i;
|
||||
if (time > now) {
|
||||
accumulate_min(delay, time - now);
|
||||
++i;
|
||||
|
@@ -9,7 +9,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
|
||||
#include "core/utils.h"
|
||||
|
||||
#define BETA_VERSION_MACRO (1002008002ULL)
|
||||
#define BETA_VERSION_MACRO (1002008003ULL)
|
||||
|
||||
constexpr int AppVersion = 1002008;
|
||||
constexpr str_const AppVersionStr = "1.2.8";
|
||||
|
@@ -521,8 +521,6 @@ private:
|
||||
Ui::SendActionAnimation _sendActionAnimation;
|
||||
QMap<SendAction::Type, TimeMs> _mySendActions;
|
||||
|
||||
int _pinnedIndex = 0; // > 0 for pinned dialogs
|
||||
|
||||
std::weak_ptr<AdminLog::LocalIdManager> _adminLogIdManager;
|
||||
|
||||
};
|
||||
|
@@ -78,10 +78,10 @@ HistoryItem::HistoryItem(
|
||||
TimeId date,
|
||||
UserId from)
|
||||
: id(id)
|
||||
, _date(date)
|
||||
, _history(history)
|
||||
, _from(from ? App::user(from) : history->peer)
|
||||
, _flags(flags) {
|
||||
, _flags(flags)
|
||||
, _date(date) {
|
||||
App::historyRegItem(this);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user