mirror of https://github.com/procxx/kepka.git
Fix phrase in HistoryJoined for supergroups.
This commit is contained in:
parent
4d3e7ac30c
commit
1a7353fb43
|
@ -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…
Reference in New Issue