Skip to content

Commit b82f857

Browse files
committed
bridge_with_irc: Prefix zulip->irc message with sender full name.
1 parent 78fa1da commit b82f857

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

zulip/integrations/bridge_with_irc/irc_mirror_backend.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def forward_to_irc(msg):
5151
in_the_specified_stream = msg["display_recipient"] == self.stream
5252
at_the_specified_subject = msg["subject"].casefold() == self.topic.casefold()
5353
if in_the_specified_stream and at_the_specified_subject:
54+
msg["content"] = ("@**%s**: " % msg["sender_full_name"]) + msg["content"]
5455
send = lambda x: c.privmsg(self.channel, x)
5556
else:
5657
return

0 commit comments

Comments
 (0)