summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/realtime/channels.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-06-30 18:34:38 +0200
committerWim <wim@42.be>2019-06-30 18:34:41 +0200
commitcf3cddafab42770d9dc3fedce57b1d326703040a (patch)
tree05d691f569608e2a95907082ff638ea86b49503e /vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/realtime/channels.go
parentc52664f22e4ba15b77ed9ce70d745fc5a893bea7 (diff)
downloadmatterbridge-msglm-cf3cddafab42770d9dc3fedce57b1d326703040a.tar.gz
matterbridge-msglm-cf3cddafab42770d9dc3fedce57b1d326703040a.tar.bz2
matterbridge-msglm-cf3cddafab42770d9dc3fedce57b1d326703040a.zip
Keep connection state. Fixes #856
Actually check if we're connected when trying to Send() a message. Messages now will get dropped when not connected. TODO: Ideally this should be in a ring buffer to retransmit when the connection comes back up.
Diffstat (limited to 'vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/realtime/channels.go')
0 files changed, 0 insertions, 0 deletions