2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Added support for platform-specific microphone permission in calls

This commit is contained in:
Grishka
2018-09-30 18:42:50 +03:00
committed by John Preston
parent 500ecb464c
commit 44eac2bf07
9 changed files with 140 additions and 1 deletions

View File

@@ -433,6 +433,18 @@ void RegisterCustomScheme() {
#endif // !TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME
}
PermissionStatus GetPermissionStatus(PermissionType type){
return PermissionStatus::Granted;
}
void RequestPermission(PermissionType type, Fn<void(PermissionStatus)> resultCallback){
}
void OpenSystemSettingsForPermission(PermissionType type){
}
namespace ThirdParty {
void start() {