mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 07:25:46 +00:00
Version 2.9: Fix build on Linux.
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -91,3 +91,6 @@
|
|||||||
[submodule "Telegram/lib_waylandshells"]
|
[submodule "Telegram/lib_waylandshells"]
|
||||||
path = Telegram/lib_waylandshells
|
path = Telegram/lib_waylandshells
|
||||||
url = https://github.com/desktop-app/lib_waylandshells.git
|
url = https://github.com/desktop-app/lib_waylandshells.git
|
||||||
|
[submodule "Telegram/ThirdParty/jemalloc"]
|
||||||
|
path = Telegram/ThirdParty/jemalloc
|
||||||
|
url = https://github.com/jemalloc/jemalloc
|
||||||
|
@@ -1906,7 +1906,6 @@ void Members::trackViewportGeometry() {
|
|||||||
bool aboutLimitShown) {
|
bool aboutLimitShown) {
|
||||||
if (placeholder > 0 || viewport <= 0 || !aboutLimitShown) {
|
if (placeholder > 0 || viewport <= 0 || !aboutLimitShown) {
|
||||||
aboutLimitShown = false;
|
aboutLimitShown = false;
|
||||||
aboutLimit = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// This call may update _videoAboutLimit->height() :(
|
// This call may update _videoAboutLimit->height() :(
|
||||||
|
@@ -596,10 +596,6 @@ void GenerateItems(
|
|||||||
)(tr::now, lt_from, fromLinkText);
|
)(tr::now, lt_from, fromLinkText);
|
||||||
addSimpleServiceMessage(text);
|
addSimpleServiceMessage(text);
|
||||||
|
|
||||||
auto bodyFlags = MessageFlag::Outgoing | MessageFlag::AdminLogEntry;
|
|
||||||
auto bodyReplyTo = MsgId();
|
|
||||||
auto bodyViaBotId = UserId();
|
|
||||||
auto bodyGroupedId = uint64();
|
|
||||||
auto newLink = newValue.isEmpty()
|
auto newLink = newValue.isEmpty()
|
||||||
? TextWithEntities()
|
? TextWithEntities()
|
||||||
: PrepareText(
|
: PrepareText(
|
||||||
|
@@ -194,7 +194,7 @@ template <typename T>
|
|||||||
bool SetClickContext(
|
bool SetClickContext(
|
||||||
const ClickHandlerPtr &handler,
|
const ClickHandlerPtr &handler,
|
||||||
const ClickContext &context) {
|
const ClickContext &context) {
|
||||||
if (const auto casted = dynamic_pointer_cast<T>(handler)) {
|
if (const auto casted = std::dynamic_pointer_cast<T>(handler)) {
|
||||||
casted->T::onClick(context);
|
casted->T::onClick(context);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
2
cmake
2
cmake
Submodule cmake updated: 289bf222ca...6602ed1ea0
Reference in New Issue
Block a user