fix webpush switch

This commit is contained in:
jxxghp 2024-06-07 08:15:30 +08:00
parent c0c787f7ed
commit 2d4fb5d52e

View File

@ -27,7 +27,7 @@ class WebPushModule(_ModuleBase):
return True, ""
def init_setting(self) -> Tuple[str, Union[str, bool]]:
pass
return "MESSAGER", "webpush"
@checkMessage(MessageChannel.WebPush)
def post_message(self, message: Notification) -> None: