mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-11-04 05:53:21 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			248 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			248 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import {ipcRenderer} from "../typed-ipc-renderer";
 | 
						|
 | 
						|
// This function will focus the server that sent
 | 
						|
// the notification. Main function implemented in main.js
 | 
						|
export function focusCurrentServer(): void {
 | 
						|
  ipcRenderer.send("focus-this-webview");
 | 
						|
}
 |