You've already forked matrix-react-sdk
							
							
				mirror of
				https://github.com/matrix-org/matrix-react-sdk.git
				synced 2025-11-03 00:33:22 +03:00 
			
		
		
		
	Merge remote-tracking branch 'origin/develop' into dbkr/virtual_rooms_v2
This commit is contained in:
		@@ -1180,7 +1180,7 @@ export function parseCommandString(input: string) {
 | 
			
		||||
    input = input.replace(/\s+$/, '');
 | 
			
		||||
    if (input[0] !== '/') return {}; // not a command
 | 
			
		||||
 | 
			
		||||
    const bits = input.match(/^(\S+?)(?: +((.|\n)*))?$/);
 | 
			
		||||
    const bits = input.match(/^(\S+?)(?:[ \n]+((.|\n)*))?$/);
 | 
			
		||||
    let cmd;
 | 
			
		||||
    let args;
 | 
			
		||||
    if (bits) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user