Fix build with Xcode.
This commit is contained in:
parent
ead427793b
commit
d4255bbfe4
|
@ -132,7 +132,7 @@ public:
|
||||||
[[nodiscard]] rpl::producer<bool> grabbingForExpanding() const;
|
[[nodiscard]] rpl::producer<bool> grabbingForExpanding() const;
|
||||||
[[nodiscard]] const Ui::RoundRect *bottomSkipRounding() const;
|
[[nodiscard]] const Ui::RoundRect *bottomSkipRounding() const;
|
||||||
|
|
||||||
[[nodiscard]] rpl::producer<> removeRequests() const {
|
[[nodiscard]] rpl::producer<> removeRequests() const override {
|
||||||
return _removeRequests.events();
|
return _removeRequests.events();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
#include "platform/platform_specific.h"
|
#include "platform/platform_specific.h"
|
||||||
#include "base/platform/mac/base_utilities_mac.h"
|
#include "base/platform/mac/base_utilities_mac.h"
|
||||||
#include "base/random.h"
|
#include "base/random.h"
|
||||||
|
#include "data/data_forum_topic.h"
|
||||||
#include "history/history.h"
|
#include "history/history.h"
|
||||||
#include "history/history_item.h"
|
#include "history/history_item.h"
|
||||||
#include "ui/empty_userpic.h"
|
#include "ui/empty_userpic.h"
|
||||||
|
@ -111,7 +112,7 @@ using Manager = Platform::Notifications::Manager;
|
||||||
LOG(("App Error: A notification with unknown topic was received"));
|
LOG(("App Error: A notification with unknown topic was received"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const auto notificationTopicRootId = [topicObject longlongValue];
|
const auto notificationTopicRootId = [topicObject longLongValue];
|
||||||
|
|
||||||
NSNumber *msgObject = [notificationUserInfo objectForKey:@"msgid"];
|
NSNumber *msgObject = [notificationUserInfo objectForKey:@"msgid"];
|
||||||
const auto notificationMsgId = msgObject ? [msgObject longLongValue] : 0LL;
|
const auto notificationMsgId = msgObject ? [msgObject longLongValue] : 0LL;
|
||||||
|
@ -223,7 +224,7 @@ private:
|
||||||
};
|
};
|
||||||
struct ClearFromTopic {
|
struct ClearFromTopic {
|
||||||
ContextId contextId;
|
ContextId contextId;
|
||||||
}
|
};
|
||||||
struct ClearFromHistory {
|
struct ClearFromHistory {
|
||||||
ContextId partialContextId;
|
ContextId partialContextId;
|
||||||
};
|
};
|
||||||
|
@ -344,7 +345,7 @@ void Manager::Private::clearingThreadLoop() {
|
||||||
clearAll = true;
|
clearAll = true;
|
||||||
}, [&](const ClearFromItem &value) {
|
}, [&](const ClearFromItem &value) {
|
||||||
clearFromItems.emplace(value.id);
|
clearFromItems.emplace(value.id);
|
||||||
}, [&](Const ClearFromTopic &value) {
|
}, [&](const ClearFromTopic &value) {
|
||||||
clearFromTopics.emplace(value.contextId);
|
clearFromTopics.emplace(value.contextId);
|
||||||
}, [&](const ClearFromHistory &value) {
|
}, [&](const ClearFromHistory &value) {
|
||||||
clearFromHistories.emplace(value.partialContextId);
|
clearFromHistories.emplace(value.partialContextId);
|
||||||
|
|
Loading…
Reference in New Issue