Commit ee1e8467 authored by Nicolas Michon's avatar Nicolas Michon

Fix duplicate specs in contact

parent 45a9df7c
......@@ -321,6 +321,7 @@ bool Core::limeX3dhAvailable() const {
void Core::setSpecsList (const std::list<std::string> &specsList) {
L_D();
d->specs = specsList;
d->specs.sort();
d->specs.unique();
const string &tmpSpecs = getSpecs();
LinphoneConfig *lpconfig = linphone_core_get_config(getCCore());
......
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