mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-22 02:07:24 +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(),
|
||||
_peer,
|
||||
[=](int level) {
|
||||
if (const auto strong = weak.get()) {
|
||||
if (weak.get()) {
|
||||
state->isLocked = (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) {
|
||||
inviteToConference(request, [=] {
|
||||
return &state->result;
|
||||
|
@ -230,7 +230,7 @@ uint64 Entry::computeSortPosition(FilterId filterId) const {
|
||||
|
||||
void Entry::updateChatListExistence() {
|
||||
if (const auto history = asHistory()) {
|
||||
if (const auto channel = history->peer->asMonoforum()) {
|
||||
if (history->peer->asMonoforum()) {
|
||||
if (!folderKnown()) {
|
||||
history->clearFolder();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user