From 30c2d45591c47dadf47f80c15749cff45e847eaa Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Tue, 8 Mar 2022 09:47:13 +0300 Subject: [PATCH] Version 1.4.9: Fix macOS build --- Telegram/SourceFiles/history/history_service.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/history/history_service.cpp b/Telegram/SourceFiles/history/history_service.cpp index ef66bd3e7..a9f712b9d 100644 --- a/Telegram/SourceFiles/history/history_service.cpp +++ b/Telegram/SourceFiles/history/history_service.cpp @@ -625,9 +625,13 @@ void HistoryService::setMessageByAction(const MTPmessageAction &action) { }, [&](const MTPDmessageActionChatCreate &data) { return prepareChatCreate(data); }, [](const MTPDmessageActionChatMigrateTo &) { - return PreparedText{ tr::lng_action_group_migrate(tr::now) }; + return PreparedText{ + tr::lng_action_group_migrate(tr::now, Ui::Text::WithEntities) + }; }, [](const MTPDmessageActionChannelMigrateFrom &) { - return PreparedText{ tr::lng_action_group_migrate(tr::now) }; + return PreparedText{ + tr::lng_action_group_migrate(tr::now, Ui::Text::WithEntities) + }; }, [](const MTPDmessageActionHistoryClear &) { return PreparedText(); }, [&](const MTPDmessageActionChannelCreate &data) {