Merge pull request #353 from taigaio/issue/2839-timeline_delete_comment
Add comment_deleted attr to timeline entriesremotes/origin/enhancement/email-actions
commit
b9c11380ed
|
@ -99,6 +99,10 @@ def on_new_history_entry(sender, instance, created, **kwargs):
|
||||||
"comment_html": instance.comment_html,
|
"comment_html": instance.comment_html,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Detect deleted comment
|
||||||
|
if instance.delete_comment_date:
|
||||||
|
extra_data["comment_deleted"] = True
|
||||||
|
|
||||||
_push_to_timelines(project, user, obj, event_type, extra_data=extra_data)
|
_push_to_timelines(project, user, obj, event_type, extra_data=extra_data)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue