[fix] [communication] on communication send, update status
diff --git a/hr/doctype/job_applicant/job_applicant.py b/hr/doctype/job_applicant/job_applicant.py
index 1603925..981a08b 100644
--- a/hr/doctype/job_applicant/job_applicant.py
+++ b/hr/doctype/job_applicant/job_applicant.py
@@ -14,7 +14,7 @@
 	def get_sender(self, comm):
 		return webnotes.conn.get_value('Jobs Email Settings',None,'email_id')
 		
-	def on_communication_sent(self, comm):
+	def on_communication(self, comm):
 		if webnotes.conn.get_value("Profile", comm.sender, "user_type")=="System User":
 			status = "Replied"
 		else:
diff --git a/selling/doctype/lead/lead.py b/selling/doctype/lead/lead.py
index d9a631e..95c8af8 100644
--- a/selling/doctype/lead/lead.py
+++ b/selling/doctype/lead/lead.py
@@ -28,9 +28,10 @@
 		if customer:
 			self.doc.fields["__is_customer"] = customer
 
-	def on_communication_sent(self, comm):
-		if webnotes.conn.get_value("Profile", comm.sender, "user_type")=="System User":
-			status = "Replied"
+	def on_communication(self, comm):
+		if comm.sender == self.get_sender(comm) or \
+			webnotes.conn.get_value("Profile", comm.sender, "user_type")=="System User":
+				status = "Replied"
 		else:
 			status = "Open"
 			
diff --git a/support/doctype/support_ticket/support_ticket.py b/support/doctype/support_ticket/support_ticket.py
index 6958c74..66f6867 100644
--- a/support/doctype/support_ticket/support_ticket.py
+++ b/support/doctype/support_ticket/support_ticket.py
@@ -33,9 +33,10 @@
 			from webnotes.widgets.form.assign_to import clear
 			clear(self.doc.doctype, self.doc.name)
 		
-	def on_communication_sent(self, comm):
-		if webnotes.conn.get_value("Profile", comm.sender, "user_type")=="System User":
-			self.doc.status = "Waiting for Customer"
+	def on_communication(self, comm):
+		if comm.sender == self.get_sender(comm) or \
+			webnotes.conn.get_value("Profile", comm.sender, "user_type")=="System User":
+				self.doc.status = "Waiting for Customer"
 		else:
 			self.doc.status = "Open"
 		self.update_status()
diff --git a/utilities/doctype/contact/contact.py b/utilities/doctype/contact/contact.py
index 78c66ae..566e857 100644
--- a/utilities/doctype/contact/contact.py
+++ b/utilities/doctype/contact/contact.py
@@ -12,7 +12,7 @@
 		self.doc = doc
 		self.doclist = doclist
 
-	def on_communication_sent(self, comm):
+	def on_communication(self, comm):
 		if webnotes.conn.get_value("Profile", comm.sender, "user_type")=="System User":
 			status = "Replied"
 		else: