Compare commits

..

2 Commits

Author SHA1 Message Date
Marc Koch 9282396483 a lot of stuff 2024-06-29 00:45:00 +02:00
Marc Koch acc3a4cd47 cancel subscription task if authentication error occurs 2024-06-21 15:35:52 +02:00
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ from .exceptions import SubscriptionError
async def build_notice(html_content) -> TextMessageEventContent:
"""
Build a notice message.
Build a notice message with optional arguments. The html_content can contain
placeholders like %s which will be replaced by the arguments.
"""
text_content = await parse_html(html_content.strip())
return TextMessageEventContent(