3 Commits

Author SHA1 Message Date
2cc3b87a35 Updates for release
All checks were successful
CI / CI (push) Successful in 7m49s
Release / Publish to crates.io (push) Successful in 1m48s
Release / Publish to Docker Hub (push) Successful in 9m19s
2023-09-24 12:08:50 -07:00
fa67902c22 Fix bad markdown in mail list link
All checks were successful
CI / CI (push) Successful in 7m52s
2023-09-24 12:07:35 -07:00
2032b97f7c Post-release version bump
All checks were successful
CI / CI (push) Successful in 2m39s
2023-09-23 04:19:18 -07:00
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@ -180,7 +180,7 @@ checksum = "9ba43ea6f343b788c8764558649e08df62f86c6ef251fdaeb1ffd010a9ae50a2"
[[package]]
name = "bebot"
version = "0.2.0"
version = "0.2.1"
dependencies = [
"anyhow",
"chrono",

View File

@ -1,6 +1,6 @@
[package]
name = "bebot"
version = "0.2.0"
version = "0.2.1"
description = "Gitlab webhook bot that publishes events to Matrix"
license = "GPL-3.0"
authors = [

View File

@ -162,7 +162,7 @@ async fn handle_list(
for room in rooms {
for item in &items {
let msg =
RoomMessageEventContent::text_markdown(format!("\\[{}\\] [{}]({}]", list.name, item.title, item.link));
RoomMessageEventContent::text_markdown(format!("\\[{}\\] [{}]({})", list.name, item.title, item.link));
room.send(msg, None)
.await
.with_context(|| format!("Failed to send message to room '{}'", room.room_id()))?;