From 8b03ccf44aa0ddae6b05c543aae76afe143ec81b Mon Sep 17 00:00:00 2001 From: hkc Date: Sat, 28 Jan 2023 22:27:08 +0300 Subject: [PATCH] Apparently, this exists And I have no fucking clue how I missed it. --- mastoposter/integrations/telegram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastoposter/integrations/telegram.py b/mastoposter/integrations/telegram.py index f1f8ea3..8f1dc7c 100644 --- a/mastoposter/integrations/telegram.py +++ b/mastoposter/integrations/telegram.py @@ -204,7 +204,7 @@ class TelegramIntegration(BaseIntegration): async def __call__(self, status: Status) -> Optional[str]: source = status.reblog or status - has_spoiler = source.spoiler_text != "" + has_spoiler = source.sensitive text = self.template.render({"status": status}) ids = []