[anit_spam] Fix type annotation

This commit is contained in:
Philipp Hörist
2025-01-26 18:20:09 +01:00
parent 17fcc799ce
commit 6ad70f5926

View File

@@ -158,6 +158,7 @@ class AntiSpam(BaseModule):
) -> None:
msg_from = properties.jid
assert msg_from is not None
block_sub = self._config["block_subscription_requests"]
roster_item = self._client.get_module("Roster").get_item(msg_from)