Skip to content
Snippets Groups Projects
Commit 5082d678 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

conversation: supports sip: uri scheme when searching


Change-Id: If4e9bba809afc1b53d2b87934e62e9e8fcaf730c
Reviewed-by: default avatarPhilippe Gorley <philippe.gorley@savoirfairelinux.com>
parent 21fd68fe
No related branches found
No related tags found
No related merge requests found
...@@ -293,7 +293,7 @@ ConversationModel::allFilteredConversations() const ...@@ -293,7 +293,7 @@ ConversationModel::allFilteredConversations() const
auto filter = pimpl_->filter; auto filter = pimpl_->filter;
auto uri = URI(QString(filter.c_str())); auto uri = URI(QString(filter.c_str()));
bool stripScheme = (uri.schemeType() == URI::SchemeType::NONE) || (uri.schemeType() == URI::SchemeType::RING); bool stripScheme = (uri.schemeType() < URI::SchemeType::COUNT__);
FlagPack<URI::Section> flags = URI::Section::USER_INFO | URI::Section::HOSTNAME | URI::Section::PORT; FlagPack<URI::Section> flags = URI::Section::USER_INFO | URI::Section::HOSTNAME | URI::Section::PORT;
if (!stripScheme) { if (!stripScheme) {
flags |= URI::Section::SCHEME; flags |= URI::Section::SCHEME;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment