|  |  | @ -314,10 +314,6 @@ class SignalAttachment: NSObject { | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         let pasteboardUTISet = Set<String>(pasteboardUTITypes[0]) |  |  |  |         let pasteboardUTISet = Set<String>(pasteboardUTITypes[0]) | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         if pasteboardUTISet.contains(kUTTypeURL as String) { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             return true |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         // The pasteboard can be populated with multiple UTI types |  |  |  |         // The pasteboard can be populated with multiple UTI types | 
			
		
	
		
		
			
				
					
					|  |  |  |         // with different payloads.  iMessage for example will copy |  |  |  |         // with different payloads.  iMessage for example will copy | 
			
		
	
		
		
			
				
					
					|  |  |  |         // an animated GIF to the pasteboard with the following UTI |  |  |  |         // an animated GIF to the pasteboard with the following UTI | 
			
		
	
	
		
		
			
				
					|  |  | @ -341,6 +337,9 @@ class SignalAttachment: NSObject { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 hasNonTextUTIType = true |  |  |  |                 hasNonTextUTIType = true | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if pasteboardUTISet.contains(kUTTypeURL as String) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             hasTextUTIType = true | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         if hasNonTextUTIType { |  |  |  |         if hasNonTextUTIType { | 
			
		
	
		
		
			
				
					
					|  |  |  |             return false |  |  |  |             return false | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |