mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:32:44 +00:00 
			
		
		
		
	DesktopServices: Add irc URL protocol handler
This commit is contained in:
		
							parent
							
								
									418092a71a
								
							
						
					
					
						commit
						c3b2bfabfe
					
				
					 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
		Add a link
		
	
		Reference in a new issue
	
	 Brendan Coles
						Brendan Coles