From d5feda5c8a2d585bdb1e58ce9daa4dffd4509a46 Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 25 Aug 2020 00:12:13 +0200 Subject: Fix error loop (zulip) (#1210) Fixes #1047 --- bridge/zulip/zulip.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/zulip/zulip.go') 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) } } -- cgit v1.2.3