3
0
mirror of https://github.com/42wim/matterbridge.git synced 2024-12-26 21:22:35 +01:00
matterbridge/gateway
Wim c4b75e5754 Download files from slack and reupload to mattermost (slack/mattermost). Closes
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).
2017-09-21 22:35:21 +02:00
..
samechannel Update tests with gofmt 2017-07-25 20:20:55 +02:00
gateway_test.go Update tests with gofmt 2017-07-25 20:20:55 +02:00
gateway.go Download files from slack and reupload to mattermost (slack/mattermost). Closes 2017-09-21 22:35:21 +02:00
router.go Do not add messages without ID to cache 2017-08-29 20:28:44 +02:00