summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim <wim@42.be>2020-08-25 00:12:13 +0200
committerGitHub <noreply@github.com>2020-08-25 00:12:13 +0200
commitd5feda5c8a2d585bdb1e58ce9daa4dffd4509a46 (patch)
tree32ceb029f1e8584e9383a63d58f3d0868790956b
parent2f506425c25504662f50f49e742529195d63ff27 (diff)
downloadmatterbridge-msglm-d5feda5c8a2d585bdb1e58ce9daa4dffd4509a46.tar.gz
matterbridge-msglm-d5feda5c8a2d585bdb1e58ce9daa4dffd4509a46.tar.bz2
matterbridge-msglm-d5feda5c8a2d585bdb1e58ce9daa4dffd4509a46.zip
Fix error loop (zulip) (#1210)
Fixes #1047
-rw-r--r--bridge/zulip/zulip.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/zulip/zulip.go b/bridge/zulip/zulip.go
index cdf433af..9fcc54af 100644
--- a/bridge/zulip/zulip.go
+++ b/bridge/zulip/zulip.go
@@ -146,8 +146,8 @@ func (b *Bzulip) handleQueue() error {
b.Log.Debugf("<= Sending message from %s on %s to gateway", rmsg.Username, b.Account)
b.Log.Debugf("<= Message is %#v", rmsg)
b.Remote <- rmsg
- b.q.LastEventID = m.ID
}
+
time.Sleep(time.Second * 3)
}
}