Hopefully fix @room

This commit is contained in:
2026-10-13 08:32:55 +02:00
parent 63e3a4c062
commit e752744f0d
+2
View File
@@ -861,6 +861,8 @@ async function eventToMessage(event, guild, channel, di) {
}
})
input = input.replace(/<a\s[^>]*href="https:\/\/matrix\.to\/#\/(?:!|%21|#|%23)[^"\/]*"[^>]*>@room<\/a>/g, "@room")
// Handling mentions of rooms and room-messages
input = await handleRoomOrMessageLinks(input, di)