mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-25 04:02:03 -08:00
c4b75e5754
Refactor message.Extra to a map[string][]interface{} to have a bit more flexibility for stuffing extra stuff. For attached files from slack, files < 1MB size get downloaded (in memory), and get put into Extra["file"][]config.FileInfo (containing a pointer to the buffer and the filename). This is not async so slack channels with lots of attached files may suffer a slowdown. (the download timeout is set at 5 seconds). |
||
---|---|---|
.. | ||
api | ||
config | ||
discord | ||
gitter | ||
irc | ||
matrix | ||
mattermost | ||
rocketchat | ||
slack | ||
steam | ||
telegram | ||
xmpp | ||
bridge.go |