pollen: Fix function name

This commit is contained in:
PapaTutuWawa 2021-09-16 13:53:49 +02:00
parent eab0199f44
commit bf077a5af0

View File

@ -239,7 +239,7 @@ class PollenModule(BaseModule):
self.send_message(msg.from_, "Du erhälst keine Pollenmeldungen mehr")
return
if not self._sum.is_subscribed_to_data_one(
if not self._sum.is_subscribed_to_data_func(
jid, plz, lambda x: x["type"] == allergy
):
self.send_message(msg.from_, "Du hast %s nicht abonniert" % (allergy))