forked from hkc/mastoposter
Apparently, this exists
And I have no fucking clue how I missed it.
This commit is contained in:
parent
1632cddcb4
commit
8b03ccf44a
|
@ -204,7 +204,7 @@ class TelegramIntegration(BaseIntegration):
|
||||||
async def __call__(self, status: Status) -> Optional[str]:
|
async def __call__(self, status: Status) -> Optional[str]:
|
||||||
source = status.reblog or status
|
source = status.reblog or status
|
||||||
|
|
||||||
has_spoiler = source.spoiler_text != ""
|
has_spoiler = source.sensitive
|
||||||
text = self.template.render({"status": status})
|
text = self.template.render({"status": status})
|
||||||
|
|
||||||
ids = []
|
ids = []
|
||||||
|
|
Loading…
Reference in New Issue