mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix build with latest Visual Studio.
This commit is contained in:
@@ -405,7 +405,8 @@ void Calls::initCaptureButton(
|
||||
}
|
||||
|
||||
void Calls::requestPermissionAndStartTestingMicrophone() {
|
||||
using namespace ::Platform;
|
||||
using PermissionType = ::Platform::PermissionType;
|
||||
using PermissionStatus = ::Platform::PermissionStatus;
|
||||
const auto status = GetPermissionStatus(
|
||||
PermissionType::Microphone);
|
||||
if (status == PermissionStatus::Granted) {
|
||||
|
||||
Reference in New Issue
Block a user