diff options
author | Gary Kim <gary@garykim.dev> | 2020-12-10 07:06:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-10 00:06:27 +0100 |
commit | 41b4e64be9216f5fa6db694b7a8f47f34ca415be (patch) | |
tree | 559ff1a6e8896cba67aff5f519009a9611280818 /bridge | |
parent | 0d7315249d20bf9856605068074a7b6c6bcce835 (diff) | |
download | matterbridge-msglm-41b4e64be9216f5fa6db694b7a8f47f34ca415be.tar.gz matterbridge-msglm-41b4e64be9216f5fa6db694b7a8f47f34ca415be.tar.bz2 matterbridge-msglm-41b4e64be9216f5fa6db694b7a8f47f34ca415be.zip |
Update go-nc-talk (nctalk) (#1333)
Signed-off-by: Gary Kim <gary@garykim.dev>
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/nctalk/nctalk.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bridge/nctalk/nctalk.go b/bridge/nctalk/nctalk.go index 6af819af..2f12e4e2 100644 --- a/bridge/nctalk/nctalk.go +++ b/bridge/nctalk/nctalk.go @@ -83,6 +83,13 @@ func (b *Btalk) JoinChannel(channel config.ChannelInfo) error { go func() { for msg := range c { msg := msg + + if msg.Error != nil { + b.Log.Errorf("Fatal message poll error: %s\n", msg.Error) + + return + } + // ignore messages that are one of the following // * not a message from a user // * from ourselves |