msgconv: port the majority of embed and attachment bridging

We still need to implement direct media support, so for now we encrypt
and reupload to Matrix. Notably remaining is conversion to HTML.
This commit is contained in:
Skip R
2025-11-26 15:07:40 -08:00
parent 17fed9aca5
commit 86e18c1f7d
6 changed files with 514 additions and 27 deletions

View File

@@ -16,8 +16,10 @@
package msgconv
import "maunium.net/go/mautrix/bridgev2"
import (
"go.mau.fi/mautrix-discord/pkg/connector"
)
type MessageConverter struct {
bridge *bridgev2.Bridge
connector *connector.DiscordConnector
}