Commit 236aafff authored by Sébastien Blin's avatar Sébastien Blin

conversationmodel: make getConferenceableConversations case insensitive

Change-Id: I0e2cc247ea61e4d2340b07d1ec291174f9b31c75
GitLab: #482
parent b04fa234
......@@ -437,9 +437,9 @@ ConversationModel::getConferenceableConversations(const QString& convId, const Q
contactsVector.push_back(cv);
continue;
}
bool result = contact.profileInfo.alias.contains(filter)
|| contact.profileInfo.uri.contains(filter)
|| contact.registeredName.contains(filter);
bool result = contact.profileInfo.alias.contains(filter, Qt::CaseInsensitive)
|| contact.profileInfo.uri.contains(filter, Qt::CaseInsensitive)
|| contact.registeredName.contains(filter, Qt::CaseInsensitive);
if (result) {
contactsVector.push_back(cv);
}
......
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