Commit 6ff0d892 authored by Rafał Malinowski's avatar Rafał Malinowski

facebook: fix downloading contacts

Signed-off-by: Rafał Malinowski's avatarRafał Malinowski <>
parent 57e66acc
......@@ -128,9 +128,7 @@ void FacebookRosterService::replaceContacts(std::vector<QFacebookContact> newCon
std::begin(newContacts), std::end(newContacts), std::back_inserter(newIds),
[](const QFacebookContact &c) { return QString::fromUtf8(; });
std::sort(std::begin(newContacts), std::end(newContacts), [](const QFacebookContact &x, const QFacebookContact &y) {
return <;
std::sort(std::begin(newIds), std::end(newIds));
std::vector<QString> toRemove;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment