add apk to prohibited extensions
This commit is contained in:
		
							parent
							
								
									7903e2baf4
								
							
						
					
					
						commit
						ca333d1964
					
				| @ -1,6 +1,6 @@ | ||||
| use teloxide::{prelude::*, types::Document}; | ||||
| 
 | ||||
| static EXTENSIONS: [&str; 3] = ["exe", "deb", "rpm"]; | ||||
| static EXTENSIONS: [&str; 4] = ["exe", "deb", "rpm", "apk"]; | ||||
| 
 | ||||
| pub fn check_file(msg: Message) -> bool { | ||||
|     match msg.document() { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user