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:
@@ -23,13 +23,13 @@ import (
|
||||
)
|
||||
|
||||
type DiscordConnector struct {
|
||||
bridge *bridgev2.Bridge
|
||||
Bridge *bridgev2.Bridge
|
||||
}
|
||||
|
||||
var _ bridgev2.NetworkConnector = (*DiscordConnector)(nil)
|
||||
|
||||
func (d *DiscordConnector) Init(bridge *bridgev2.Bridge) {
|
||||
d.bridge = bridge
|
||||
d.Bridge = bridge
|
||||
}
|
||||
|
||||
func (d *DiscordConnector) Start(ctx context.Context) error {
|
||||
|
||||
Reference in New Issue
Block a user