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