Workaround for broken IRC bridge

This commit is contained in:
Xiretza 2022-11-13 10:56:15 +01:00
parent 1b48d830e6
commit c40de5fbd1

View file

@ -219,6 +219,10 @@ impl Bot {
}; };
let reply = |msg: &str| { let reply = |msg: &str| {
// workaround for broken IRC bridge
// https://github.com/matrix-org/matrix-appservice-irc/issues/683#issuecomment-1312688727
let msg = format!("\n{msg}");
room.send( room.send(
RoomMessageEventContent::text_plain(msg).make_reply_to(ev), RoomMessageEventContent::text_plain(msg).make_reply_to(ev),
None, None,