mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Fix phrase in HistoryJoined for supergroups.
This commit is contained in:
parent
4d3e7ac30c
commit
1a7353fb43
1 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue