diff options
author | Raquel Medina <raquel.medina@konsulko.com> | 2020-04-24 15:59:17 +0200 |
---|---|---|
committer | Raquel Medina <raquel.medina@konsulko.com> | 2020-04-24 15:59:32 +0200 |
commit | 01c425e69b2c5b9e80cd52a78b2de63d2a474524 (patch) | |
tree | 74ed1d19ae7227ef6f1862816c5fb1a7d0405d98 /pbap/pbap.cpp | |
parent | 06e1006ceddb0d2d500ad648c141362d5c401ca6 (diff) |
fix pbap api name
Bug-AGL: SPEC-3339
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: Idd496b868764c17f550d15174ff8d702f18bf2d9
Diffstat (limited to 'pbap/pbap.cpp')
-rw-r--r-- | pbap/pbap.cpp | 4 |
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(); |