mirror of https://github.com/zulip/zulip.git
error_mirror_helper: Update helper to add channel. key when no slug_name
This commit is contained in:
parent
731575344e
commit
3b96a7254d
|
@ -72,7 +72,7 @@ def encode_email_address_helper(name: str, email_token: str, show_sender: bool =
|
|||
if encoded_name:
|
||||
encoded_token = f"{encoded_name}.{email_token}"
|
||||
else:
|
||||
encoded_token = email_token
|
||||
encoded_token = f"channel.{email_token}"
|
||||
|
||||
if show_sender:
|
||||
encoded_token += ".show-sender"
|
||||
|
|
Loading…
Reference in New Issue