mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-07 00:16:57 +08:00
fix webpush switch
This commit is contained in:
@@ -77,6 +77,8 @@ def checkMessage(channel_type: MessageChannel):
|
|||||||
return None
|
return None
|
||||||
if channel_type == MessageChannel.VoceChat and not switch.get("vocechat"):
|
if channel_type == MessageChannel.VoceChat and not switch.get("vocechat"):
|
||||||
return None
|
return None
|
||||||
|
if channel_type == MessageChannel.WebPush and not switch.get("webpush"):
|
||||||
|
return None
|
||||||
return func(self, message, *args, **kwargs)
|
return func(self, message, *args, **kwargs)
|
||||||
|
|
||||||
return wrapper
|
return wrapper
|
||||||
|
|||||||
Reference in New Issue
Block a user