mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fixed formatting text of pinned messages in service messages.
This commit is contained in:
@@ -903,7 +903,9 @@ HistoryService::PreparedText HistoryService::preparePinnedText() {
|
||||
Ui::kQEllipsis);
|
||||
}
|
||||
original = Ui::Text::Wrapped(
|
||||
std::move(original),
|
||||
Ui::Text::Filtered(
|
||||
std::move(original),
|
||||
{ EntityType::Spoiler, EntityType::StrikeOut }),
|
||||
EntityType::CustomUrl,
|
||||
Ui::Text::Link({}, 2).entities.front().data());
|
||||
result.text = tr::lng_action_pinned_message(
|
||||
|
Reference in New Issue
Block a user