mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +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(
|
||||
const base::flat_set<MsgId> &possiblyReadMentions,
|
||||
ChannelData *channel) {
|
||||
for (const auto msgId : possiblyReadMentions) {
|
||||
for (const auto &msgId : possiblyReadMentions) {
|
||||
requestMessageData(channel, msgId, [=] {
|
||||
const auto item = channel
|
||||
? _session->data().message(channel->id, msgId)
|
||||
|
|
|
@ -76,7 +76,6 @@ private:
|
|||
Ui::Animations::Simple _scaleAnimation;
|
||||
|
||||
QRect _geometry;
|
||||
ButtonStyle _style = ButtonStyle::Bubble;
|
||||
bool _outbg = false;
|
||||
|
||||
};
|
||||
|
|
|
@ -60,7 +60,6 @@ void InlineList::layoutButtons() {
|
|||
_buttons.clear();
|
||||
return;
|
||||
}
|
||||
_data.chosenReaction;
|
||||
auto sorted = ranges::view::all(
|
||||
_data.reactions
|
||||
) | ranges::view::transform([](const auto &pair) {
|
||||
|
|
Loading…
Add table
Reference in a new issue