mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed build on non-Windows.
This commit is contained in:
parent
fa4d1d72c4
commit
022249f235
3 changed files with 1 additions and 3 deletions
|
@ -2936,7 +2936,7 @@ void ApiWrap::preloadEnoughUnreadMentions(not_null<History*> history) {
|
||||||
void ApiWrap::checkForUnreadMentions(
|
void ApiWrap::checkForUnreadMentions(
|
||||||
const base::flat_set<MsgId> &possiblyReadMentions,
|
const base::flat_set<MsgId> &possiblyReadMentions,
|
||||||
ChannelData *channel) {
|
ChannelData *channel) {
|
||||||
for (const auto msgId : possiblyReadMentions) {
|
for (const auto &msgId : possiblyReadMentions) {
|
||||||
requestMessageData(channel, msgId, [=] {
|
requestMessageData(channel, msgId, [=] {
|
||||||
const auto item = channel
|
const auto item = channel
|
||||||
? _session->data().message(channel->id, msgId)
|
? _session->data().message(channel->id, msgId)
|
||||||
|
|
|
@ -76,7 +76,6 @@ private:
|
||||||
Ui::Animations::Simple _scaleAnimation;
|
Ui::Animations::Simple _scaleAnimation;
|
||||||
|
|
||||||
QRect _geometry;
|
QRect _geometry;
|
||||||
ButtonStyle _style = ButtonStyle::Bubble;
|
|
||||||
bool _outbg = false;
|
bool _outbg = false;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -60,7 +60,6 @@ void InlineList::layoutButtons() {
|
||||||
_buttons.clear();
|
_buttons.clear();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_data.chosenReaction;
|
|
||||||
auto sorted = ranges::view::all(
|
auto sorted = ranges::view::all(
|
||||||
_data.reactions
|
_data.reactions
|
||||||
) | ranges::view::transform([](const auto &pair) {
|
) | ranges::view::transform([](const auto &pair) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue