Merge pull request #4012 from vector-im/t3chguy/electron_settings

auto-launch support [Electron]
This commit is contained in:
Matthew Hodgson 2017-05-30 23:59:16 +01:00 committed by GitHub
commit 448c10736a
4 changed files with 50 additions and 42 deletions

View file

@ -153,6 +153,8 @@ export default class ElectronPlatform extends VectorBasePlatform {
return null;
}
isElectron(): boolean { return true; }
requestNotificationPermission(): Promise<string> {
return q('granted');
}