diff --git a/alertmanager.go b/alertmanager.go index ce724ee..b291ead 100644 --- a/alertmanager.go +++ b/alertmanager.go @@ -41,7 +41,7 @@ func HandleAlertmanagerPayloadPost(c *fiber.Ctx) error { } _, err := matrixClient.SendMessageEvent( - id.RoomID(getRoom(*defaultRoom)), + id.RoomID(getRoom(c.Query("room", *defaultRoom))), event.EventMessage, format.RenderMarkdown(message, true, true), )