2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Remove a couple of unused lang keys.

This commit is contained in:
John Preston
2022-01-04 11:15:09 +03:00
parent 4e3f917a2c
commit 9f887237eb
2 changed files with 2 additions and 8 deletions

View File

@@ -435,18 +435,14 @@ void HistoryService::setMessageByAction(const MTPmessageAction &action) {
auto result = PreparedText{};
const auto text = qs(action.vemoticon());
if (!text.isEmpty()) {
if (isPost()) {
result.text = tr::lng_action_theme_changed_channel(tr::now, lt_emoji, text);
} else if (_from->isSelf()) {
if (_from->isSelf()) {
result.text = tr::lng_action_you_theme_changed(tr::now, lt_emoji, text);
} else {
result.links.push_back(fromLink());
result.text = tr::lng_action_theme_changed(tr::now, lt_from, fromLinkText(), lt_emoji, text);
}
} else {
if (isPost()) {
result.text = tr::lng_action_theme_disabled_channel(tr::now);
} else if (_from->isSelf()) {
if (_from->isSelf()) {
result.text = tr::lng_action_you_theme_disabled(tr::now);
} else {
result.links.push_back(fromLink());