2 Commits

Author SHA1 Message Date
b0868c5bd4 Updated version number in plugin metadata for v1.0.3 release.
All checks were successful
Build Maubot Plugin Artifact / Build (push) Successful in 3s
Lint Source Code / Lint (push) Successful in 8s
2025-04-05 23:09:29 -04:00
1c6720cc10 Fixed regression for notifications containing extra lines for streams with tags configured.
All checks were successful
Build Maubot Plugin Artifact / Build (push) Successful in 3s
Lint Source Code / Lint (push) Successful in 8s
I'm not sure how this made it through from the development environment to the Git repository. Evidently I messed it up somehow and didn't notice.
2025-04-05 19:36:40 -04:00
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
maubot: 0.1.0
id: dev.logal.owncastsentry
version: 1.0.2
version: 1.0.3
license: Apache-2.0
modules:
- owncastsentry

View File

@@ -25,7 +25,7 @@ OWNCAST_CONFIG_PATH = "/api/config"
# User agent to send with all HTTP requests.
USER_AGENT = (
"OwncastSentry/1.0.2 (bot; +https://git.logal.dev/LogalDeveloper/OwncastSentry)"
"OwncastSentry/1.0.3 (bot; +https://git.logal.dev/LogalDeveloper/OwncastSentry)"
)
@@ -353,7 +353,7 @@ class OwncastSentry(Plugin):
if title != "":
body_text += "\nStream Title: " + title
body_text += "\n\nTo tune in, visit: https://" + domain + "/\n\n"
body_text += "\n\nTo tune in, visit: https://" + domain + "/"
if "tags" in stream_config and len(stream_config["tags"]) > 0:
body_text += "\n\n"