mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
de-lint BasePlatform
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
e56203f2a1
commit
09ae6bba07
2 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,6 @@ src/autocomplete/DuckDuckGoProvider.js
|
|||
src/autocomplete/EmojiProvider.js
|
||||
src/autocomplete/RoomProvider.js
|
||||
src/autocomplete/UserProvider.js
|
||||
src/BasePlatform.js
|
||||
src/CallHandler.js
|
||||
src/component-index.js
|
||||
src/components/structures/ContextualMenu.js
|
||||
|
|
|
@ -57,6 +57,7 @@ export default class BasePlatform {
|
|||
/**
|
||||
* Returns true if the platform supports displaying
|
||||
* notifications, otherwise false.
|
||||
* @returns {boolean} whether the platform supports displaying notifications
|
||||
*/
|
||||
supportsNotifications(): boolean {
|
||||
return false;
|
||||
|
@ -65,6 +66,7 @@ export default class BasePlatform {
|
|||
/**
|
||||
* Returns true if the application currently has permission
|
||||
* to display notifications. Otherwise false.
|
||||
* @returns {boolean} whether the application has permission to display notifications
|
||||
*/
|
||||
maySendNotifications(): boolean {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue