mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix check for IP revealing file names.
This commit is contained in:
parent
8cd579d443
commit
7ee159b53d
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ void LaunchWithWarning(
|
||||||
const QString &name,
|
const QString &name,
|
||||||
HistoryItem *item) {
|
HistoryItem *item) {
|
||||||
const auto isExecutable = Data::IsExecutableName(name);
|
const auto isExecutable = Data::IsExecutableName(name);
|
||||||
const auto isIpReveal = true;
|
const auto isIpReveal = Data::IsIpRevealingName(name);
|
||||||
auto &app = Core::App();
|
auto &app = Core::App();
|
||||||
const auto warn = [&] {
|
const auto warn = [&] {
|
||||||
if (item && item->history()->peer->isVerified()) {
|
if (item && item->history()->peer->isVerified()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue