Fix build with MSVC.

This commit is contained in:
John Preston
2026-04-10 15:32:33 +07:00
parent 4646cc7f21
commit 82650f5420
+1 -1
View File
@@ -2026,7 +2026,7 @@ void FastShareMessageToSelf(
std::shared_ptr<Main::SessionShow> show,
not_null<HistoryItem*> item) {
const auto self = show->session().user();
const auto &owner = self->owner();
auto &owner = self->owner();
const auto items = owner.idsToItems(owner.itemOrItsGroup(item));
const auto donePhraseArgs = ChatHelpers::ForwardedMessagePhraseArgs{
.toCount = 1,