diff --git a/bridgev2/commands/login.go b/bridgev2/commands/login.go index 8896eb60..660c90d7 100644 --- a/bridgev2/commands/login.go +++ b/bridgev2/commands/login.go @@ -10,6 +10,7 @@ import ( "context" "encoding/json" "fmt" + "html" "net/url" "regexp" "slices" @@ -17,7 +18,6 @@ import ( "github.com/skip2/go-qrcode" "go.mau.fi/util/curl" - "golang.org/x/net/html" "maunium.net/go/mautrix/bridgev2" "maunium.net/go/mautrix/bridgev2/networkid" diff --git a/bridgev2/commands/startchat.go b/bridgev2/commands/startchat.go index 53c07530..42f528b0 100644 --- a/bridgev2/commands/startchat.go +++ b/bridgev2/commands/startchat.go @@ -9,11 +9,10 @@ package commands import ( "context" "fmt" + "html" "strings" "time" - "golang.org/x/net/html" - "maunium.net/go/mautrix/bridgev2" "maunium.net/go/mautrix/bridgev2/networkid" "maunium.net/go/mautrix/id" diff --git a/event/message.go b/event/message.go index 9badd9a2..92bdcf07 100644 --- a/event/message.go +++ b/event/message.go @@ -8,12 +8,11 @@ package event import ( "encoding/json" + "html" "slices" "strconv" "strings" - "golang.org/x/net/html" - "maunium.net/go/mautrix/crypto/attachment" "maunium.net/go/mautrix/id" )