diff --git a/backend/src/kibicara/platforms/mastodon/bot.py b/backend/src/kibicara/platforms/mastodon/bot.py index 0fdad53..82ff364 100644 --- a/backend/src/kibicara/platforms/mastodon/bot.py +++ b/backend/src/kibicara/platforms/mastodon/bot.py @@ -85,10 +85,10 @@ class MastodonBot(Censor): """Push new Ticketfrei reports to Mastodon; if source is mastodon, boost it.""" while True: message = await self.receive() - if hasattr(message, "tood_id"): - logger.debug("Boosting post %s: %s" % (message.tood_id, message.text)) + if hasattr(message, "toot_id"): + logger.debug("Boosting post %s: %s" % (message.toot_id, message.text)) await get_event_loop().run_in_executor( - None, self.account.status_reblog, message.tood_id + None, self.account.status_reblog, message.toot_id ) else: logger.debug("Posting message: %s" % (message.text,))