don't publish updateShortcut event when subscribe
authorwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Mon, 3 Jun 2019 11:22:24 +0000 (19:22 +0800)
committerwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Mon, 3 Jun 2019 11:22:24 +0000 (19:22 +0800)
Change-Id: I0deb111a5acee5a2fd8804ba3e0d01dcb50c3c71

src/hs-client.cpp

index bff9141..5da52bb 100644 (file)
@@ -186,9 +186,6 @@ int HS_Client::subscribe(afb_req_t request)
                     subscription = true;
                 }
             }
-            if (!strcasecmp("updateShortcut", value)) {
-                pushUpdateShortcutEvent();
-            }
         }
     }
     else {