mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Beta version 3.4.4: Fix build with GCC.
This commit is contained in:
@@ -796,7 +796,6 @@ HistoryService::PreparedText HistoryService::prepareInvitedToCallText(
|
|||||||
Ui::Text::WithEntities);
|
Ui::Text::WithEntities);
|
||||||
auto result = PreparedText{};
|
auto result = PreparedText{};
|
||||||
result.links.push_back(fromLink());
|
result.links.push_back(fromLink());
|
||||||
auto linkIndex = 1;
|
|
||||||
if (linkCallId) {
|
if (linkCallId) {
|
||||||
const auto peer = history()->peer;
|
const auto peer = history()->peer;
|
||||||
result.links.push_back(GroupCallClickHandler(peer, linkCallId));
|
result.links.push_back(GroupCallClickHandler(peer, linkCallId));
|
||||||
|
@@ -2141,7 +2141,6 @@ void Message::refreshReactions() {
|
|||||||
if (!_reactions) {
|
if (!_reactions) {
|
||||||
const auto handlerFactory = [=](QString emoji) {
|
const auto handlerFactory = [=](QString emoji) {
|
||||||
const auto weak = base::make_weak(this);
|
const auto weak = base::make_weak(this);
|
||||||
const auto fullId = data()->fullId();
|
|
||||||
return std::make_shared<LambdaClickHandler>([=] {
|
return std::make_shared<LambdaClickHandler>([=] {
|
||||||
if (const auto strong = weak.get()) {
|
if (const auto strong = weak.get()) {
|
||||||
strong->data()->toggleReaction(emoji);
|
strong->data()->toggleReaction(emoji);
|
||||||
|
@@ -110,7 +110,6 @@ int SendAnimation::computeParabolicTop(
|
|||||||
int to,
|
int to,
|
||||||
float64 progress) const {
|
float64 progress) const {
|
||||||
const auto t = progress;
|
const auto t = progress;
|
||||||
const auto c = from;
|
|
||||||
|
|
||||||
// result = a * t * t + b * t + c
|
// result = a * t * t + b * t + c
|
||||||
|
|
||||||
|
@@ -370,7 +370,6 @@ void System::checkDelayed() {
|
|||||||
for (auto i = _settingWaiters.begin(); i != _settingWaiters.end();) {
|
for (auto i = _settingWaiters.begin(); i != _settingWaiters.end();) {
|
||||||
const auto history = i->first;
|
const auto history = i->first;
|
||||||
const auto peer = history->peer;
|
const auto peer = history->peer;
|
||||||
auto notifyMuted = i->second.alsoMuted;
|
|
||||||
auto loaded = false;
|
auto loaded = false;
|
||||||
auto muted = false;
|
auto muted = false;
|
||||||
if (!peer->owner().notifyMuteUnknown(peer)) {
|
if (!peer->owner().notifyMuteUnknown(peer)) {
|
||||||
|
Submodule Telegram/lib_lottie updated: 513fd602e8...17fbf3dec4
Reference in New Issue
Block a user