mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Removed text commands from history item components.
This commit is contained in:
@@ -32,7 +32,7 @@ constexpr auto kMessagesPerPage = 50;
|
||||
history->nextNonHistoryEntryId(),
|
||||
MessageFlag::FakeHistoryItem,
|
||||
date,
|
||||
HistoryService::PreparedText{ text });
|
||||
HistoryService::PreparedText{ { .text = text } });
|
||||
}
|
||||
|
||||
} // namespace
|
||||
@@ -287,7 +287,7 @@ void RepliesList::injectRootDivider(
|
||||
text());
|
||||
} else if (_dividerWithComments != withComments) {
|
||||
_dividerWithComments = withComments;
|
||||
_divider->setServiceText(HistoryService::PreparedText{ text() });
|
||||
_divider->setServiceText(HistoryService::PreparedText{ { text() } });
|
||||
}
|
||||
slice->ids.push_back(_divider->fullId());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user