This commit is contained in:
Skip R
2025-12-11 19:55:00 -08:00
parent ab82f8b131
commit 60171b4fca
7 changed files with 17 additions and 12 deletions

View File

@@ -27,8 +27,9 @@ import (
"strconv"
"github.com/bwmarrin/discordgo"
"go.mau.fi/mautrix-discord/pkg/attachment"
"maunium.net/go/mautrix/bridgev2"
"go.mau.fi/mautrix-discord/pkg/attachment"
)
func downloadDiscordAttachment(cli *http.Client, url string, maxSize int64) ([]byte, error) {