Hopefully fix @room
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user