Skip to content
Snippets Groups Projects
Commit 1928642b authored by Stepan Salenikovich's avatar Stepan Salenikovich Committed by Emmanuel Lepage Vallee
Browse files

lrc: add explanation to supportScheme update

Refs #71348
parent 047544d0
No related branches found
No related tags found
No related merge requests found
...@@ -939,6 +939,11 @@ bool Account::supportScheme( URI::SchemeType type ) ...@@ -939,6 +939,11 @@ bool Account::supportScheme( URI::SchemeType type )
switch(type) { switch(type) {
case URI::SchemeType::NONE : case URI::SchemeType::NONE :
if (protocol() == Account::Protocol::RING) if (protocol() == Account::Protocol::RING)
/* the URIs which are supported by accounts of type RING are well
* defined and should always be identified correctly, thus URIs
* which are not identified to be of a specific type cannot possibly
* be of type RING and thus should never be used to make a RING call
*/
return false; return false;
return true; return true;
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment