make tiktok detection less strict

This commit is contained in:
Exeldro 2024-08-01 13:03:42 +02:00
parent bd9ba667f2
commit 1c8146798e
No known key found for this signature in database
GPG Key ID: 97269A83FC715751

View File

@ -85,7 +85,7 @@ QIcon ConfigUtils::getPlatformIconFromEndpoint(QString endpoint)
return QIcon(":/aitum/media/youtube.png"); return QIcon(":/aitum/media/youtube.png");
} else if (endpoint.contains(QString::fromUtf8("fa723fc1b171.global-contribute.live-video.net"))) { // kick } else if (endpoint.contains(QString::fromUtf8("fa723fc1b171.global-contribute.live-video.net"))) { // kick
return QIcon(":/aitum/media/kick.png"); return QIcon(":/aitum/media/kick.png");
} else if (endpoint.contains(QString::fromUtf8(".tiktokcdn-"))) { // tiktok } else if (endpoint.contains(QString::fromUtf8(".tiktokcdn"))) { // tiktok
return QIcon(":/aitum/media/tiktok.png"); return QIcon(":/aitum/media/tiktok.png");
} else if (endpoint.contains(QString::fromUtf8(".pscp.tv"))) { // twitter } else if (endpoint.contains(QString::fromUtf8(".pscp.tv"))) { // twitter
return QIcon(":/aitum/media/twitter.png"); return QIcon(":/aitum/media/twitter.png");