2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-29 13:39:06 +00:00

Fix build with new Xcode.

This commit is contained in:
John Preston 2025-08-08 11:26:39 +04:00
parent efb213fb9f
commit 536884bb46
3 changed files with 3 additions and 3 deletions

View File

@ -1257,7 +1257,7 @@ void Controller::fillAutoTranslateButton() {
_navigation->uiShow(), _navigation->uiShow(),
_peer, _peer,
[=](int level) { [=](int level) {
if (const auto strong = weak.get()) { if (weak.get()) {
state->isLocked = (level < requiredLevel); state->isLocked = (level < requiredLevel);
} }
return (level < requiredLevel) return (level < requiredLevel)

View File

@ -3982,7 +3982,7 @@ void GroupCall::inviteUsers(
} }
}; };
if (const auto call = _conferenceCall.get()) { if (_conferenceCall.get()) {
for (const auto &request : requests) { for (const auto &request : requests) {
inviteToConference(request, [=] { inviteToConference(request, [=] {
return &state->result; return &state->result;

View File

@ -230,7 +230,7 @@ uint64 Entry::computeSortPosition(FilterId filterId) const {
void Entry::updateChatListExistence() { void Entry::updateChatListExistence() {
if (const auto history = asHistory()) { if (const auto history = asHistory()) {
if (const auto channel = history->peer->asMonoforum()) { if (history->peer->asMonoforum()) {
if (!folderKnown()) { if (!folderKnown()) {
history->clearFolder(); history->clearFolder();
} }