From 1928642b64cad2a35a33280cde1e47a20c8f17d2 Mon Sep 17 00:00:00 2001 From: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> Date: Mon, 20 Apr 2015 15:26:05 -0400 Subject: [PATCH] lrc: add explanation to supportScheme update Refs #71348 --- src/account.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/account.cpp b/src/account.cpp index 3da484c7..7d9c841c 100644 --- a/src/account.cpp +++ b/src/account.cpp @@ -939,6 +939,11 @@ bool Account::supportScheme( URI::SchemeType type ) switch(type) { case URI::SchemeType::NONE : 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 true; break; -- GitLab