增加PushMe消息通道

This commit is contained in:
雨思 2023-07-18 17:13:46 +08:00 committed by GitHub
parent acd044b1fb
commit 596cacee65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -715,6 +715,8 @@ if (
and push_config.get("SMTP_NAME") and push_config.get("SMTP_NAME")
): ):
notify_function.append(smtp) notify_function.append(smtp)
if push_config.get("PUSHME_KEY"):
notify_function.append(pushme)
def send(title: str, content: str) -> None: def send(title: str, content: str) -> None: