@ -165,14 +165,11 @@
 
		
	
		
			
				      ourNumber , 
 
		
	
		
			
				      'private' 
 
		
	
		
			
				    ) ; 
 
		
	
		
			
				    const  secondaryConversation  =  await  ConversationController . getOrCreateAndWait ( 
 
		
	
		
			
				      recipientPubKey , 
 
		
	
		
			
				      'private' 
 
		
	
		
			
				    ) ; 
 
		
	
		
			
				    // Always be friends with secondary devices
 
 
		
	
		
			
				    secondaryConversation . setFriendRequestStatus ( 
 
		
	
		
			
				      window . friends . friendRequestStatusEnum . friends 
 
		
	
		
			
				    ) ; 
 
		
	
		
			
				    const  content  =  new  textsecure . protobuf . Content ( { 
 
		
	
		
			
				      pairingAuthorisation , 
 
		
	
		
			
				    } ) ; 
 
		
	
		
			
				    const  isGrant  =  authorisation . primaryDevicePubKey  ===  ourNumber ; 
 
		
	
		
			
				    if  ( isGrant )  { 
 
		
	
		
			
				      // Send profile name to secondary device
 
 
		
	
		
			
				      const  lokiProfile  =  ourConversation . getLokiProfile ( ) ; 
 
		
	
		
			
				      const  profile  =  new  textsecure . protobuf . DataMessage . LokiProfile ( 
 
		
	
	
		
			
				
					
						
						
						
							
								 
						
					 
				
			
			@ -187,11 +184,9 @@
 
		
	
		
			
				        {  ConversationCollection :  Whisper . ConversationCollection  } 
 
		
	
		
			
				      ) ; 
 
		
	
		
			
				      const  syncMessage  =  await  createContactSyncProtoMessage ( conversations ) ; 
 
		
	
		
			
				    const  content  =  new  textsecure . protobuf . Content ( { 
 
		
	
		
			
				      pairingAuthorisation , 
 
		
	
		
			
				      dataMessage , 
 
		
	
		
			
				      syncMessage , 
 
		
	
		
			
				    } ) ; 
 
		
	
		
			
				      content . syncMessage  =  syncMessage ; 
 
		
	
		
			
				      content . dataMessage  =  dataMessage ; 
 
		
	
		
			
				    } 
 
		
	
		
			
				    // Send
 
 
		
	
		
			
				    const  options  =  {  messageType :  'pairing-request'  } ; 
 
		
	
		
			
				    const  p  =  new  Promise ( ( resolve ,  reject )  =>  {