From fe20f1b029f67dee1f790ade7a9114086f2abd38 Mon Sep 17 00:00:00 2001 From: Raquel Medina Date: Thu, 3 Sep 2020 12:13:56 +0200 Subject: fix handling of telephony events Telephony events are currently being discarded due to rogue ';'. This is a regression introduced along commit 0ed292d, which impedes correct processing of telephony signals, including incoming call or remote disconnect. Bug-AGL: SPEC-3515 Signed-off-by: Raquel Medina Change-Id: Iff095634f2c0c32ef22bc3c86672bcd763418ed4 --- telephony/telephony.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telephony/telephony.cpp b/telephony/telephony.cpp index 850f2d6..71aa1cb 100644 --- a/telephony/telephony.cpp +++ b/telephony/telephony.cpp @@ -122,7 +122,7 @@ void Telephony::onMessageReceived(std::shared_ptr msg) if (msg->isEvent()) { std::shared_ptr emsg = std::static_pointer_cast(msg); - if (emsg->eventApi() != "telephony"); + if (emsg->eventApi() != "telephony") return; QString ename = emsg->eventName(); QJsonObject data = emsg->eventData(); -- cgit 1.2.3-korg