diff --git a/home/__init__.py b/home/__init__.py index e508ac70fb0..9667efd2128 100644 --- a/home/__init__.py +++ b/home/__init__.py @@ -87,5 +87,5 @@ def update_feed(controller, method=None): doc = controller.doc if method in ['on_update', 'on_submit']: subject, color = feed_dict.get(doc.doctype, [None, None]) - if subject: + if subject: make_feed('', doc.doctype, doc.name, doc.owner, subject % doc.fields, color) diff --git a/support/doctype/support_ticket/__init__.py b/support/doctype/support_ticket/__init__.py index 2473bbcdd1a..90dc1e32ce9 100644 --- a/support/doctype/support_ticket/__init__.py +++ b/support/doctype/support_ticket/__init__.py @@ -112,11 +112,7 @@ class SupportMailbox(POP3Mailbox): except: d.description = 'Unable to extract message' d.save(1) - else: - # update feed - update_feed(d, 'on_update') - # send auto reply if cint(self.email_settings.send_autoreply): if "mailer-daemon" not in d.raised_by.lower():