summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mattermost/mattermost-server/mlog/log.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-03-02 22:58:14 +0100
committerGitHub <noreply@github.com>2019-03-02 22:58:14 +0100
commit53aa0765554a899ba57acd4cb7086b4e69fe8ac8 (patch)
tree5ce268731c5e8476612f1d348c24e56d0592dd17 /vendor/github.com/mattermost/mattermost-server/mlog/log.go
parentf57370f33abf7e2d61d39f4867c9c95f9fc6cd8c (diff)
downloadmatterbridge-msglm-53aa0765554a899ba57acd4cb7086b4e69fe8ac8.tar.gz
matterbridge-msglm-53aa0765554a899ba57acd4cb7086b4e69fe8ac8.tar.bz2
matterbridge-msglm-53aa0765554a899ba57acd4cb7086b4e69fe8ac8.zip
Do not send duplicate messages (rocketchat). Fixes #745 (#752)
For an unknown reason we get duplicate messages (from the same channel) using the realtime API when we have > 1 channel subscribed on. Solution for now is caching the message ID in a LRU cache and ignoring the duplicates. This should be reviewed when we have actual editing support from the realtime API
Diffstat (limited to 'vendor/github.com/mattermost/mattermost-server/mlog/log.go')
0 files changed, 0 insertions, 0 deletions