mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
DesktopServices: Add irc URL protocol handler
This commit is contained in:
parent
418092a71a
commit
c3b2bfabfe
Notes:
sideshowbarker
2024-07-19 07:23:28 +09:00
Author: https://github.com/bcoles Commit: https://github.com/SerenityOS/serenity/commit/c3b2bfabfec Pull-request: https://github.com/SerenityOS/serenity/pull/1927 Reviewed-by: https://github.com/awesomekling ✅
1 changed files with 3 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue