Restored supergroup migration service message
This commit is contained in:
parent
12b25d973d
commit
22f2fa2f19
2 changed files with 3 additions and 2 deletions
|
|
@ -1090,6 +1090,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
"lng_action_changed_title_channel" = "Channel name was changed to «{title}»";
|
"lng_action_changed_title_channel" = "Channel name was changed to «{title}»";
|
||||||
"lng_action_created_chat" = "{from} created group «{title}»";
|
"lng_action_created_chat" = "{from} created group «{title}»";
|
||||||
"lng_action_created_channel" = "Channel created";
|
"lng_action_created_channel" = "Channel created";
|
||||||
|
"lng_action_group_migrate" = "The group was upgraded to a supergroup";
|
||||||
"lng_action_pinned_message" = "{from} pinned «{text}»";
|
"lng_action_pinned_message" = "{from} pinned «{text}»";
|
||||||
"lng_action_pinned_media" = "{from} pinned {media}";
|
"lng_action_pinned_media" = "{from} pinned {media}";
|
||||||
"lng_action_pinned_media_photo" = "a photo";
|
"lng_action_pinned_media_photo" = "a photo";
|
||||||
|
|
|
||||||
|
|
@ -387,9 +387,9 @@ void HistoryService::setMessageByAction(const MTPmessageAction &action) {
|
||||||
}, [&](const MTPDmessageActionChatCreate &data) {
|
}, [&](const MTPDmessageActionChatCreate &data) {
|
||||||
return prepareChatCreate(data);
|
return prepareChatCreate(data);
|
||||||
}, [](const MTPDmessageActionChatMigrateTo &) {
|
}, [](const MTPDmessageActionChatMigrateTo &) {
|
||||||
return PreparedText();
|
return PreparedText{ tr::lng_action_group_migrate(tr::now) };
|
||||||
}, [](const MTPDmessageActionChannelMigrateFrom &) {
|
}, [](const MTPDmessageActionChannelMigrateFrom &) {
|
||||||
return PreparedText();
|
return PreparedText{ tr::lng_action_group_migrate(tr::now) };
|
||||||
}, [](const MTPDmessageActionHistoryClear &) {
|
}, [](const MTPDmessageActionHistoryClear &) {
|
||||||
return PreparedText();
|
return PreparedText();
|
||||||
}, [&](const MTPDmessageActionChannelCreate &data) {
|
}, [&](const MTPDmessageActionChannelCreate &data) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue