mirror of
https://github.com/zulip/zulip.git
synced 2025-10-31 20:13:46 +00:00
If the event key is None, the handler content_func never gets defined, which leads to an UnboundLocalError. This can be easily avoided by having a dedicated function that handles the case for when the event key is None.