diff --git a/app/models/project_services/irker_service.rb b/app/models/project_services/irker_service.rb index 7fc336899528e55398f058f9dd1eb8b8927faf30..ce7d1c5d5b136cec34aa69d8004e0dcfdbf102fe 100644 --- a/app/models/project_services/irker_service.rb +++ b/app/models/project_services/irker_service.rb @@ -112,14 +112,6 @@ def consider_uri(uri) # Authorize both irc://domain.com/#chan and irc://domain.com/chan if uri.is_a?(URI) && uri.scheme[/^ircs?\z/] && !uri.path.nil? - # Do not authorize irc://domain.com/ - if uri.fragment.nil? && uri.path.length > 1 - else - # Authorize irc://domain.com/smthg#chan - # The irker daemon will deal with it by concatenating smthg and - # chan, thus sending messages on #smthgchan - end - uri.to_s end end