DesktopServices: Add irc URL protocol handler

This commit is contained in:
Brendan Coles 2020-04-22 21:56:43 +00:00 committed by Andreas Kling
parent 418092a71a
commit c3b2bfabfe
Notes: sideshowbarker 2024-07-19 07:23:28 +09:00

View File

@ -39,6 +39,9 @@ bool DesktopServices::open(const URL& url)
if (url.protocol() == "file")
return open_file_url(url);
if (url.protocol() == "irc")
return spawn("/bin/IRCClient", url.to_string());
return spawn("/bin/Browser", url.to_string());
}