matterbridge
matterbridge copied to clipboard
Zulip: 10s delay before message is sent
Describe the bug Since v1.23.1 messages from Zulip are sent with a delay of 10s, because the first event request fails. After the 10s timeout (introduced in #1589) matterbridge receives the message.
To Reproduce In my case:
- Update matterbridge to version newer or equal v1.23.1
- Write a message in Zulip
- the first event request fails at every message
Expected behavior Messages are sent directly.
Screenshots/debug logs
time="2022-08-02T14:37:03+02:00" level=debug msg="receiving error: <nil>" func=handleQueue file="bridge/zulip/zulip.go:129" prefix=zulip
time="2022-08-02T14:37:13+02:00" level=debug msg="== Receiving gozulipbot.EventMessage{...}" func=handleQueue file="bridge/zulip/zulip.go:136" prefix=zulip
Environment (please complete the following information):
- OS: Ubuntu 20.04.4
- Matterbridge version: 1.25.2 20f841c5
Additional context
- Zulip version: 5.5
- Matterbridge config:
[discord]
[discord.channel]
Token=""
Server=""
RemoteNickFormat="{NICK}"
ShowEmbeds=true
EditSuffix=" (edited)"
[zulip]
[zulip.channel]
Token=""
Login=""
Server=""
RemoteNickFormat="**{NICK}**: "
[[gateway]]
name="zulipdiscord"
enable=true
[[gateway.inout]]
account="discord.channel"
channel="ID:0000"
[gateway.inout.options]
WebhookURL=""
[[gateway.inout]]
account="zulip.channel"
channel="Channel/topic:DiscordBridge"