Skip to content

Commit

Permalink
fixed enable notifications in electron bug #2945
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos22 committed Jan 16, 2017
1 parent e211a44 commit 6c9d908
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/vector/platform/ElectronPlatform.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,10 @@ export default class ElectronPlatform extends VectorBasePlatform {
screenCaptureErrorString() {
return null;
}

requestNotificationPermission() : Promise {
const defer = q.defer();
defer.resolve('granted');
return defer.promise;
}
}

0 comments on commit 6c9d908

Please sign in to comment.