Browse Source
			
			
			Merge pull request #10364 from nextcloud/bugfix/10355/markdown-capability
			
				feat(capability): Add a capability for messages being markdown
			
			
				pull/10372/head
			
			
		 
		
			
				
					
						 Joas Schilling
					
					2 years ago
						Joas Schilling
					
					2 years ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
				  
				  No known key found for this signature in database
				  
				  	
						GPG Key ID: 4AEE18F83AFDEB23
				  	
				  
				
			
		
		
		
	
		
			
				 3 changed files with 
3 additions and 
0 deletions
			 
			
		 
		
			
				- 
					
					
					 
					docs/capabilities.md
				
- 
					
					
					 
					lib/Capabilities.php
				
- 
					
					
					 
					tests/php/CapabilitiesTest.php
				
					
					
						
							
								
									
										
											
	
		
			
				
					|  |  | @ -125,3 +125,4 @@ | 
			
		
	
		
			
				
					|  |  |  | ## 17.1 | 
			
		
	
		
			
				
					|  |  |  | * `remind-me-later` - Support for "Remind me later" for chat messages exists | 
			
		
	
		
			
				
					|  |  |  | * `bots-v1` - Support of the first version for Bots and Webhooks is available | 
			
		
	
		
			
				
					|  |  |  | * `markdown-messages` - Chat messages support markdown and are rendered automatically | 
			
		
	
										
									
								
							
						 
					 
				 
			
		
			
				
					
					
						
							
								
									
										
											
	
		
			
				
					|  |  | @ -121,6 +121,7 @@ class Capabilities implements IPublicCapability { | 
			
		
	
		
			
				
					|  |  |  | 				'typing-privacy', | 
			
		
	
		
			
				
					|  |  |  | 				'remind-me-later', | 
			
		
	
		
			
				
					|  |  |  | 				'bots-v1', | 
			
		
	
		
			
				
					|  |  |  | 				'markdown-messages', | 
			
		
	
		
			
				
					|  |  |  | 			], | 
			
		
	
		
			
				
					|  |  |  | 			'config' => [ | 
			
		
	
		
			
				
					|  |  |  | 				'attachments' => [ | 
			
		
	
	
		
			
				
					|  |  | 
 | 
			
		
	
										
									
								
							
						 
					 
				 
			
		
			
				
					
					
						
							
								
									
										
											
	
		
			
				
					|  |  | @ -139,6 +139,7 @@ class CapabilitiesTest extends TestCase { | 
			
		
	
		
			
				
					|  |  |  | 			'typing-privacy', | 
			
		
	
		
			
				
					|  |  |  | 			'remind-me-later', | 
			
		
	
		
			
				
					|  |  |  | 			'bots-v1', | 
			
		
	
		
			
				
					|  |  |  | 			'markdown-messages', | 
			
		
	
		
			
				
					|  |  |  | 			'message-expiration', | 
			
		
	
		
			
				
					|  |  |  | 			'reactions', | 
			
		
	
		
			
				
					|  |  |  | 		]; | 
			
		
	
	
		
			
				
					|  |  | 
 |