diff options
-rw-r--r-- | telephony/telephony.cpp | 2 |
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(); |