Fix me being very tired and undoing the fix I did instead of changing the test that failed because of it
CI and release / Detect release commit (push) Successful in 23s
CI and release / Run tests (push) Successful in 4m13s
CI and release / Build and publish container (push) Successful in 6m58s
CI and release / Create release (push) Skipped

This commit is contained in:
Elias Wendland committed 2026-08-31 17:19:14 +02:00
1 parent 52bc46b6d4
commit 1af68d464d
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ pub async fn git(ctx: Context<'_>) -> Result<(), Error> {
let response = ctx.say("Processing...").await?; let response = ctx.say("Processing...").await?;
let msg = "Git repo: https://git.ewenlau.net/ewenlau/tg-archive-bot\nIf you'd like to contribute, contact <@1389325880853270569> to get an account."; let msg = "Git repo: https://git.ewenlau.net/ewenlau/tg-archive\nIf you'd like to contribute, contact <@1389325880853270569> to get an account.";
edit_response_message(&response, ctx, msg, true).await?; edit_response_message(&response, ctx, msg, true).await?;
trace_message( trace_message(
msg, msg,
+1 -1
View File
@@ -1226,7 +1226,7 @@ mod tests {
assert!(html.contains("class=\"theme-white\"")); assert!(html.contains("class=\"theme-white\""));
assert!(!html.contains("If you cannot see any messages")); assert!(!html.contains("If you cannot see any messages"));
assert!(include_str!("../../static/index.html").contains("If you cannot see any messages")); assert!(include_str!("../../static/index.html").contains("If you cannot see any messages"));
assert!(html.contains("git.ewenlau.net/ewenlau/tg-archive-bot")); assert!(html.contains("git.ewenlau.net/ewenlau/tg-archive"));
assert!(html.contains("Copyright © 2026 Ewi and contributors")); assert!(html.contains("Copyright © 2026 Ewi and contributors"));
assert!(html.contains("licensed under GPL-3.0")); assert!(html.contains("licensed under GPL-3.0"));
assert!(html.contains("href=\"/privacy\"")); assert!(html.contains("href=\"/privacy\""));
+1 -1
View File
@@ -25,7 +25,7 @@
</main> </main>
<footer class="site-footer"> <footer class="site-footer">
<p class="footer-legal">{% if logged_in %}<a href="/privacy">Privacy</a><br>{% endif %} <p class="footer-legal">{% if logged_in %}<a href="/privacy">Privacy</a><br>{% endif %}
Source code available <a href="https://git.ewenlau.net/ewenlau/tg-archive-bot">here</a>.<br> Source code available <a href="https://git.ewenlau.net/ewenlau/tg-archive">here</a>.<br>
Copyright © 2026 Ewi and contributors<br> Copyright © 2026 Ewi and contributors<br>
This content is licensed under GPL-3.0.</p> This content is licensed under GPL-3.0.</p>
<form class="footer-theme" method="post" action="/theme"> <form class="footer-theme" method="post" action="/theme">