diff options
author | Wim <wim@42.be> | 2019-06-30 18:34:38 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2019-06-30 18:34:41 +0200 |
commit | cf3cddafab42770d9dc3fedce57b1d326703040a (patch) | |
tree | 05d691f569608e2a95907082ff638ea86b49503e /vendor/github.com/d5/tengo/compiler/compiler_loops.go | |
parent | c52664f22e4ba15b77ed9ce70d745fc5a893bea7 (diff) | |
download | matterbridge-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/d5/tengo/compiler/compiler_loops.go')
0 files changed, 0 insertions, 0 deletions