diff --git a/zulip/integrations/bridge_with_irc/irc_mirror_backend.py b/zulip/integrations/bridge_with_irc/irc_mirror_backend.py index 46b2b93..5e4c7cc 100644 --- a/zulip/integrations/bridge_with_irc/irc_mirror_backend.py +++ b/zulip/integrations/bridge_with_irc/irc_mirror_backend.py @@ -41,6 +41,9 @@ class IRCBot(irc.bot.SingleServerIRCBot): def forward_to_irc(msg): # type: (Dict[str, Any]) -> None + if msg["sender_email"] == self.zulip_client.email: + # Do not forward echo + return if msg["type"] == "stream": send = lambda x: c.privmsg(self.channel, x) else: