mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix build with Xcode.
This commit is contained in:
parent
6c19274eac
commit
e13768ea50
4 changed files with 4 additions and 3 deletions
|
@ -317,7 +317,7 @@ void ActivateBotCommand(ClickHandlerContext context, int row, int column) {
|
||||||
.peer = item->history()->peer,
|
.peer = item->history()->peer,
|
||||||
.command = QString(button->text),
|
.command = QString(button->text),
|
||||||
.context = item->fullId(),
|
.context = item->fullId(),
|
||||||
.replyTo = replyTo,
|
.replyTo = { replyTo },
|
||||||
});
|
});
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
|
|
|
@ -77,7 +77,7 @@ void ApplyPeerCloudDraft(
|
||||||
reply.quote.entities),
|
reply.quote.entities),
|
||||||
},
|
},
|
||||||
.storyId = (reply.storyId
|
.storyId = (reply.storyId
|
||||||
? FullStoryId(replyPeerId, reply.storyId)
|
? FullStoryId{ replyPeerId, reply.storyId }
|
||||||
: FullStoryId()),
|
: FullStoryId()),
|
||||||
.topicRootId = topicRootId,
|
.topicRootId = topicRootId,
|
||||||
},
|
},
|
||||||
|
|
|
@ -7,6 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "base/qt/qt_compare.h"
|
||||||
#include "data/data_peer_id.h"
|
#include "data/data_peer_id.h"
|
||||||
#include "ui/text/text_entity.h"
|
#include "ui/text/text_entity.h"
|
||||||
|
|
||||||
|
|
|
@ -110,7 +110,7 @@ struct EntryState {
|
||||||
FilterId filterId = 0;
|
FilterId filterId = 0;
|
||||||
FullReplyTo currentReplyTo;
|
FullReplyTo currentReplyTo;
|
||||||
|
|
||||||
friend inline constexpr auto operator<=>(EntryState, EntryState) noexcept
|
friend inline auto operator<=>(EntryState, EntryState) noexcept
|
||||||
= default;
|
= default;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue