todo: do not send message to if assigned to self
diff --git a/erpnext/utilities/page/todo/todo.py b/erpnext/utilities/page/todo/todo.py
index 05c695d..9495241 100644
--- a/erpnext/utilities/page/todo/todo.py
+++ b/erpnext/utilities/page/todo/todo.py
@@ -48,7 +48,7 @@
 def delete(arg=None):
 	name = webnotes.form_dict['name']
 	d = Document('ToDo', name)
-	if d and d.name:
+	if d and d.name and d.owner != webnotes.session['user']:
 		notify_assignment(d)
 	webnotes.conn.sql("delete from `tabToDo` where name = %s", name)
 
@@ -57,7 +57,7 @@
 	doc_name = d.reference_name
 	assigned_by = d.assigned_by
 	
-	if doc_type and doc_name and assigned_by:
+	if doc_type and doc_name and assigned_by and assigned_by != d.owner:
 		from webnotes.widgets.form import assign_to
 		assign_to.notify_assignment(assigned_by, d.owner, doc_type, doc_name)
 		
\ No newline at end of file