mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Fix build on macOS.
This commit is contained in:
parent
7906be37b6
commit
6adb3e7200
1 changed files with 2 additions and 2 deletions
|
@ -902,12 +902,12 @@ void AttachWebView::requestBots(Fn<void()> callback) {
|
|||
}
|
||||
_attachBotsUpdates.fire({});
|
||||
});
|
||||
for (const auto callback : base::take(_botsRequestCallbacks)) {
|
||||
for (const auto &callback : base::take(_botsRequestCallbacks)) {
|
||||
callback();
|
||||
}
|
||||
}).fail([=] {
|
||||
_botsRequestId = 0;
|
||||
for (const auto callback : base::take(_botsRequestCallbacks)) {
|
||||
for (const auto &callback : base::take(_botsRequestCallbacks)) {
|
||||
callback();
|
||||
}
|
||||
}).send();
|
||||
|
|
Loading…
Add table
Reference in a new issue