mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 23:15:59 +00:00
Fix phrase in HistoryJoined for supergroups.
This commit is contained in:
@@ -688,9 +688,6 @@ HistoryJoined::PreparedText HistoryJoined::GenerateText(gsl::not_null<History*>
|
|||||||
}
|
}
|
||||||
auto result = PreparedText {};
|
auto result = PreparedText {};
|
||||||
result.links.push_back(peerOpenClickHandler(inviter));
|
result.links.push_back(peerOpenClickHandler(inviter));
|
||||||
if (history->isMegagroup()) {
|
result.text = (history->isMegagroup() ? lng_action_add_you_group : lng_action_add_you)(lt_from, textcmdLink(1, inviter->name));
|
||||||
result.text = lng_action_add_you_group(lt_from, textcmdLink(1, inviter->name));
|
|
||||||
}
|
|
||||||
result.text = lng_action_add_you(lt_from, textcmdLink(1, inviter->name));
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user