From b361c234b1f5144b6964057ef38f3ecdb7164afe Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Wed, 22 Aug 2018 16:44:55 +0530 Subject: [PATCH] Remove unused message to avoid confusion --- erpnext/public/js/hub/pages/messages.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/erpnext/public/js/hub/pages/messages.js b/erpnext/public/js/hub/pages/messages.js index f09baf283e..683cba01f0 100644 --- a/erpnext/public/js/hub/pages/messages.js +++ b/erpnext/public/js/hub/pages/messages.js @@ -57,16 +57,6 @@ erpnext.hub.Messages = class Messages extends SubPage { get_interactions() { return hub.call('get_sellers_with_interactions', { for_seller: hub.settings.company_email }); } - - get_messages() { - const against_seller = frappe.get_route()[2]; - if (!against_seller) return Promise.resolve([]); - - return hub.call('get_messages', { - for_seller: hub.settings.company_email, - against_seller: against_seller - }); - } } function get_message_area_html() {