mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
email_mirror: Clean up EMAIL_GATEWAY_EXAMPLE setting.
This isn't something that a user can ever modify, so it doesn't belong in DEFAULT_SETTINGS. While we're at it, we align the appearance of the email gateway in the docs with whether this setting in the docs will be valid.
This commit is contained in:
@@ -133,7 +133,7 @@ class BotIntegration(Integration):
|
||||
class EmailIntegration(Integration):
|
||||
def is_enabled(self):
|
||||
# type: () -> bool
|
||||
return settings.EMAIL_GATEWAY_BOT != ""
|
||||
return settings.EMAIL_GATEWAY_PATTERN != ""
|
||||
|
||||
class WebhookIntegration(Integration):
|
||||
DEFAULT_FUNCTION_PATH = 'zerver.webhooks.{name}.view.api_{name}_webhook'
|
||||
|
||||
Reference in New Issue
Block a user