Format change in toots
This commit is contained in:
@@ -68,7 +68,9 @@ class MastodonPlugin(BasePlugin):
|
||||
post_prefix = f'#{str(config["hashtag"]).strip().lstrip("#")} '
|
||||
post_prefix = str(post_prefix if post_prefix is not None else DEFAULT_POST_PREFIX).strip()
|
||||
title = str(event.get('title') or '').strip()
|
||||
status_parts = [f'{post_prefix} {title}'.strip()]
|
||||
status_parts = [post_prefix.strip()]
|
||||
if title:
|
||||
status_parts.append(title)
|
||||
if event.get('comment'):
|
||||
status_parts.append(event['comment'])
|
||||
if title:
|
||||
|
||||
Reference in New Issue
Block a user