fix webpush switch
This commit is contained in:
parent
c0c787f7ed
commit
2d4fb5d52e
@ -27,7 +27,7 @@ class WebPushModule(_ModuleBase):
|
|||||||
return True, ""
|
return True, ""
|
||||||
|
|
||||||
def init_setting(self) -> Tuple[str, Union[str, bool]]:
|
def init_setting(self) -> Tuple[str, Union[str, bool]]:
|
||||||
pass
|
return "MESSAGER", "webpush"
|
||||||
|
|
||||||
@checkMessage(MessageChannel.WebPush)
|
@checkMessage(MessageChannel.WebPush)
|
||||||
def post_message(self, message: Notification) -> None:
|
def post_message(self, message: Notification) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user