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:
parent
efb213fb9f
commit
536884bb46
@ -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)
|
||||||
|
@ -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;
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user