From c83f3cfcdf3f08ee47e5d210cec7eedbb783fec9 Mon Sep 17 00:00:00 2001 From: Sophie Tauchert Date: Sat, 14 Jan 2023 14:24:00 +0100 Subject: [PATCH] Remove invalid await --- ntfy/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntfy/bot.py b/ntfy/bot.py index 82f5f85..38b9719 100644 --- a/ntfy/bot.py +++ b/ntfy/bot.py @@ -93,7 +93,7 @@ class NtfyBot(Plugin): await evt.reply("Subscribed this room to %s/%s", server, topic) await evt.react(WHITE_CHECK_MARK) if not existing_subscriptions: - await self.subscribe_to_topic(db_topic) + self.subscribe_to_topic(db_topic) @ntfy.subcommand("unsubscribe", aliases=("unsub",), help="Unsubscribe this room from a ntfy topic.") @command.argument("topic", "topic URL", matches="(([a-zA-Z0-9-]{1,63}\\.)+[a-zA-Z]{2,6}/[a-zA-Z0-9_-]{1,64})")