mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix build on macOS.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user