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 
			
		
		
		
	fix variable name shadowing
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
		@@ -993,7 +993,7 @@ export const Commands = [
 | 
			
		||||
        command: "msg",
 | 
			
		||||
        description: _td("Sends a message to the given user"),
 | 
			
		||||
        args: "<user-id> <message>",
 | 
			
		||||
        runFn: function(roomId, args) {
 | 
			
		||||
        runFn: function(_, args) {
 | 
			
		||||
            if (args) {
 | 
			
		||||
                const matches = args.match(/^(\S+?)(?: +(.*))?$/s);
 | 
			
		||||
                if (matches) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user