Skip to content
Snippets Groups Projects
Unverified Commit 87124a9d authored by Sébastien Blin's avatar Sébastien Blin
Browse files

jams: update API (replace jamiId by id)

Change-Id: I007aeaa520d4647d53f2ab590c57cfbacf5b6cee
parent bc9693e6
No related branches found
No related tags found
No related merge requests found
......@@ -1170,11 +1170,11 @@ ContactModelPimpl::slotUserSearchEnded(const QString& accountId,
}
updateTemporaryMessage("");
for (auto& resultInfo : result) {
if (contacts.find(resultInfo.value("jamiId")) != contacts.end()) {
if (contacts.find(resultInfo.value("id")) != contacts.end()) {
continue;
}
profile::Info profileInfo;
profileInfo.uri = resultInfo.value("jamiId");
profileInfo.uri = resultInfo.value("id");
profileInfo.type = profile::Type::TEMPORARY;
profileInfo.avatar = resultInfo.value("profilePicture");
profileInfo.alias = resultInfo.value("firstName") + " " + resultInfo.value("lastName");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment