matterbridge/bridge/discord
ubq323 707a74ba0e discord: support sending files with just a URL
previously, the code assumed each file had a Data, and crashed if this was not present.
now, we detect this condition, and send the URL instead.

the discord client will display URLs in a message of their own
as inline embeds, without any special behavior needed on our part.

this commit makes the same changes to the webhook and non-webhook code.
2024-08-16 11:58:33 +01:00
..
transmitter Switch to discordgo upstream again (#1759) 2022-03-12 17:06:39 +01:00
discord.go discord: support sending files with just a URL 2024-08-16 11:58:33 +01:00
handlers_test.go Switch to discordgo upstream again (#1759) 2022-03-12 17:06:39 +01:00
handlers.go discord: put attachment URLs into Extra["file"] 2024-08-16 08:59:32 +01:00
helpers_test.go Split Discord bridge in multiple files (#632) 2018-12-07 23:36:01 +01:00
helpers.go Trim nick whitespace when looking up the guild members (discord) (#2072) 2024-05-24 00:19:31 +02:00
webhook.go discord: support sending files with just a URL 2024-08-16 11:58:33 +01:00