mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 17:04:47 +00:00
Fixes in Comment, if comment by not mentioned, consider owner
This commit is contained in:
@@ -70,6 +70,6 @@ def on_build():
|
|||||||
|
|
||||||
def comment_added(doc):
|
def comment_added(doc):
|
||||||
"""add comment to feed"""
|
"""add comment to feed"""
|
||||||
home.make_feed('Comment', doc.comment_doctype, doc.comment_docname, doc.comment_by,
|
home.make_feed('Comment', doc.comment_doctype, doc.comment_docname,
|
||||||
'<i>"' + doc.comment + '"</i>', '#6B24B3')
|
doc.comment_by or doc.owner, '<i>"' + doc.comment + '"</i>', '#6B24B3')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user