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.

webhooks: Handle dispute events with object IDs prefixed with du.

Vishnu KS5eb63ddb7a1c
diff --git a/zerver/webhooks/stripe/view.py b/zerver/webhooks/stripe/view.py
index 7575512a530..882b8447e51 100644
--- a/zerver/webhooks/stripe/view.py
+++ b/zerver/webhooks/stripe/view.py
@@ -212,6 +212,7 @@ def linkified_id(object_id: str, lower: bool=False) -> str:
'ch': ('Charge', 'charges'),
'cus': ('Customer', 'customers'),
'dp': ('Dispute', 'disputes'),
+ 'du': ('Dispute', 'disputes'),
'file': ('File', 'files'),
'link': ('File link', 'file_links'),
'pi': ('Payment intent', 'payment_intents'),