zephyr_mirror: Set subject to personal if it is empty.

(imported from commit c843199287ab693f9f325ca0216cee59f8accdb3)
This commit is contained in:
Tim Abbott 2012-10-29 18:23:36 -04:00
parent db5aaec6de
commit 13d3fd46e5

View file

@ -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":