Version 2.9: Fix build on Linux.

This commit is contained in:
John Preston 2021-07-30 21:03:33 +03:00
parent 66bcc20f58
commit f3ab01604c
5 changed files with 5 additions and 7 deletions

3
.gitmodules vendored
View File

@ -91,3 +91,6 @@
[submodule "Telegram/lib_waylandshells"]
path = Telegram/lib_waylandshells
url = https://github.com/desktop-app/lib_waylandshells.git
[submodule "Telegram/ThirdParty/jemalloc"]
path = Telegram/ThirdParty/jemalloc
url = https://github.com/jemalloc/jemalloc

View File

@ -1906,7 +1906,6 @@ void Members::trackViewportGeometry() {
bool aboutLimitShown) {
if (placeholder > 0 || viewport <= 0 || !aboutLimitShown) {
aboutLimitShown = false;
aboutLimit = 0;
}
// This call may update _videoAboutLimit->height() :(

View File

@ -596,10 +596,6 @@ void GenerateItems(
)(tr::now, lt_from, fromLinkText);
addSimpleServiceMessage(text);
auto bodyFlags = MessageFlag::Outgoing | MessageFlag::AdminLogEntry;
auto bodyReplyTo = MsgId();
auto bodyViaBotId = UserId();
auto bodyGroupedId = uint64();
auto newLink = newValue.isEmpty()
? TextWithEntities()
: PrepareText(

View File

@ -194,7 +194,7 @@ template <typename T>
bool SetClickContext(
const ClickHandlerPtr &handler,
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);
return true;
}

2
cmake

@ -1 +1 @@
Subproject commit 289bf222cad071aba5bb7d1928b2654bac3f4cf0
Subproject commit 6602ed1ea085901fc5b556c4df8f6e3a0b7e52b3