mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 03:41:58 +00:00
zephyr_mirror: Set subject to personal if it is empty.
(imported from commit c843199287ab693f9f325ca0216cee59f8accdb3)
This commit is contained in:
@@ -266,6 +266,8 @@ def process_notice(notice, log):
|
|||||||
'subject' : instance,
|
'subject' : instance,
|
||||||
'zsig' : zsig, # logged here but not used by app
|
'zsig' : zsig, # logged here but not used by app
|
||||||
'content' : body }
|
'content' : body }
|
||||||
|
if zeph["subject"] == "":
|
||||||
|
zeph["subject"] = "personal"
|
||||||
|
|
||||||
# Add instances in for instanced personals
|
# Add instances in for instanced personals
|
||||||
if zeph['type'] == "personal" and instance != "personal":
|
if zeph['type'] == "personal" and instance != "personal":
|
||||||
|
|||||||
Reference in New Issue
Block a user