Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

urls: Remove a legacy assertion.

Zixuan James Lia3efc777fa90
diff --git a/zproject/urls.py b/zproject/urls.py
index 77cc07a158a..34cf3a5ef89 100644
--- a/zproject/urls.py
+++ b/zproject/urls.py
@@ -737,8 +737,7 @@ urls += [
# We don't create URLs for particular Git integrations here
# because of generic one below
for incoming_webhook in WEBHOOK_INTEGRATIONS:
- if incoming_webhook.url_object:
- urls.append(incoming_webhook.url_object)
+ urls.append(incoming_webhook.url_object)
# Desktop-specific authentication URLs
urls += [