mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-17 22:42:01 -08:00
707a74ba0e
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. |
||
---|---|---|
.. | ||
transmitter | ||
discord.go | ||
handlers_test.go | ||
handlers.go | ||
helpers_test.go | ||
helpers.go | ||
webhook.go |