Fix check for IP revealing file names.

This commit is contained in:
John Preston 2022-03-01 14:06:31 +03:00
parent 8cd579d443
commit 7ee159b53d
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ void LaunchWithWarning(
const QString &name,
HistoryItem *item) {
const auto isExecutable = Data::IsExecutableName(name);
const auto isIpReveal = true;
const auto isIpReveal = Data::IsIpRevealingName(name);
auto &app = Core::App();
const auto warn = [&] {
if (item && item->history()->peer->isVerified()) {