Commented out unused StripExternalLinks
This commit is contained in:
parent
0b2f8e306a
commit
ad0badd6ab
1 changed files with 2 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ auto PlainUsernameValue(not_null<PeerData*> peer) {
|
|||
});
|
||||
}
|
||||
|
||||
/*
|
||||
void StripExternalLinks(TextWithEntities &text) {
|
||||
const auto local = [](const QString &url) {
|
||||
return !UrlRequiresConfirmation(QUrl::fromUserInput(url));
|
||||
|
|
@ -67,6 +68,7 @@ void StripExternalLinks(TextWithEntities &text) {
|
|||
ranges::remove_if(text.entities, notLocal),
|
||||
text.entities.end());
|
||||
}
|
||||
*/
|
||||
|
||||
} // namespace
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue