|  |  |  | @ -259,6 +259,7 @@ | 
		
	
		
			
				|  |  |  |  |     window.initialisedAPI = true; | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |     if (storage.get('isSecondaryDevice')) { | 
		
	
		
			
				|  |  |  |  |       window.log.info('Initialising as a secondary device'); | 
		
	
		
			
				|  |  |  |  |       window.lokiFileServerAPI.updateOurDeviceMapping(); | 
		
	
		
			
				|  |  |  |  |     } | 
		
	
		
			
				|  |  |  |  |   }; | 
		
	
	
		
			
				
					|  |  |  | @ -1365,6 +1366,7 @@ | 
		
	
		
			
				|  |  |  |  |     }); | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |     Whisper.events.on('deviceUnpairingRequested', async pubKey => { | 
		
	
		
			
				|  |  |  |  |       window.log.info('unpairing device...'); | 
		
	
		
			
				|  |  |  |  |       await libloki.storage.removePairingAuthorisationForSecondaryPubKey( | 
		
	
		
			
				|  |  |  |  |         pubKey | 
		
	
		
			
				|  |  |  |  |       ); | 
		
	
	
		
			
				
					|  |  |  | 
 |