summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaquel Medina <raquel.medina@konsulko.com>2020-09-03 12:13:56 +0200
committerRaquel Medina <raquel.medina@konsulko.com>2020-09-03 13:23:55 +0200
commitfe20f1b029f67dee1f790ade7a9114086f2abd38 (patch)
treedf654e8926f58623c18c6537f8b2f5afdc37d78b
parent9209b7d5bd23d05cebaf0ffc1b77e39525bc63cf (diff)
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 <raquel.medina@konsulko.com> Change-Id: Iff095634f2c0c32ef22bc3c86672bcd763418ed4
-rw-r--r--telephony/telephony.cpp2
1 files changed, 1 insertions, 1 deletions
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<Message> msg)
if (msg->isEvent()) {
std::shared_ptr<EventMessage> emsg = std::static_pointer_cast<EventMessage>(msg);
- if (emsg->eventApi() != "telephony");
+ if (emsg->eventApi() != "telephony")
return;
QString ename = emsg->eventName();
QJsonObject data = emsg->eventData();