summaryrefslogtreecommitdiffstats
path: root/pbap/pbap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pbap/pbap.cpp')
-rw-r--r--pbap/pbap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbap/pbap.cpp b/pbap/pbap.cpp
index a0b84f4..53b07bd 100644
--- a/pbap/pbap.cpp
+++ b/pbap/pbap.cpp
@@ -308,7 +308,7 @@ void Pbap::onMessageReceived(std::shared_ptr<Message> msg)
QString eapi = emsg->eventApi();
QVariantMap data = emsg->eventData().toVariantMap();
- if (eapi != "pbap")
+ if (eapi != "bluetooth-pbap")
return;
bool connected = data.find("connected").value().toBool();
@@ -320,7 +320,7 @@ void Pbap::onMessageReceived(std::shared_ptr<Message> msg)
} else if (msg->isReply()) {
std::shared_ptr<ResponseMessage> rmsg = std::static_pointer_cast<ResponseMessage>(msg);
QString api = rmsg->requestApi();
- if (api != "pbap")
+ if (api != "bluetooth-pbap")
return;
QString verb = rmsg->requestVerb();