summaryrefslogtreecommitdiffstats
path: root/bridge/helper/helper.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix possible panic. #448Wim2018-06-191-1/+1
|
* Add MediaDownloadBlacklist option. Closes #442Wim2018-06-091-0/+14
|
* Reconnect on quit. (irc) See #431 (#445)Liam Stanley2018-06-091-2/+3
| | | | | * potential fixes for #431 * go: fix formatting/gofmt/goreturns
* Remove message newline (telegram). #399Wim2018-04-191-0/+1
|
* Add missing importWim2018-04-191-0/+1
|
* Remove empty newlines from messages (telegram) #399Wim2018-04-191-0/+10
|
* Refactor slackWim2018-02-271-0/+7
|
* Refactor mattermostWim2018-02-271-0/+20
|
* Use MediaServerDownload instead of MediaServerUpload for avatarsWim2018-02-201-1/+1
|
* Download (and upload) avatar images from mattermost and telegram when ↵Wim2018-02-201-0/+7
| | | | | | | | | | | | | | mediaserver is configured. Closes #362 An extra avatarMap (cache) is created for mattermost and telegram. If MediaServerUpload is configured, the avatar images of users are downloaded the first time a user sends a message. If this download succeeds a message with EVENT_AVATAR_DOWNLOAD is sent to the originating protocol. This message also contains a SHA field (in msg.Extra["file"]), if this is not empty, the sha will be added to the avatarMap. (so we now have a userid-sha cache) Next time this user sends a message, the MediaServerUpload/sha/userid.png URL will be used as the avatar field.
* Remove double closeWim2018-02-071-1/+0
|
* Do not close body on err. Closes #364Wim2018-02-071-1/+1
|
* Send chat notification if media is too big to be re-uploaded to MediaServer. ↵Wim2018-02-031-0/+17
| | | | See #359
* Add MessageSplit option to split messages on MessageLength (irc). Closes #281Wim2017-11-241-0/+12
|
* Add helperWim2017-11-041-0/+28