new(whatsapp.gblib): New WhatsApp provider: Meta.
This commit is contained in:
		
							parent
							
								
									6518c9ca12
								
							
						
					
					
						commit
						b028c8e9aa
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -653,7 +653,7 @@ export class GBConversationalService {
 | 
			
		|||
    let isMedia = text.toLowerCase().endsWith('.jpg') || text.toLowerCase().endsWith('.jpeg')
 | 
			
		||||
      || text.toLowerCase().endsWith('.png');
 | 
			
		||||
 | 
			
		||||
    let image = isMedia ?
 | 
			
		||||
    let image = !isMedia ?
 | 
			
		||||
      /(.*)\n/gmi.exec(text)[0].trim() :
 | 
			
		||||
      text;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue