You've already forked matrix-react-sdk
							
							
				mirror of
				https://github.com/matrix-org/matrix-react-sdk.git
				synced 2025-11-04 11:51:45 +03:00 
			
		
		
		
	Merge remote-tracking branch 'origin/develop' into dbkr/call_hold
This commit is contained in:
		@@ -518,6 +518,7 @@ export const Commands = [
 | 
			
		||||
                        action: 'view_room',
 | 
			
		||||
                        room_alias: roomAlias,
 | 
			
		||||
                        auto_join: true,
 | 
			
		||||
                        _type: "slash_command", // instrumentation
 | 
			
		||||
                    });
 | 
			
		||||
                    return success();
 | 
			
		||||
                } else if (params[0][0] === '!') {
 | 
			
		||||
@@ -532,6 +533,7 @@ export const Commands = [
 | 
			
		||||
                        },
 | 
			
		||||
                        via_servers: viaServers, // for the rejoin button
 | 
			
		||||
                        auto_join: true,
 | 
			
		||||
                        _type: "slash_command", // instrumentation
 | 
			
		||||
                    });
 | 
			
		||||
                    return success();
 | 
			
		||||
                } else if (isPermalink) {
 | 
			
		||||
@@ -556,6 +558,7 @@ export const Commands = [
 | 
			
		||||
                    const dispatch = {
 | 
			
		||||
                        action: 'view_room',
 | 
			
		||||
                        auto_join: true,
 | 
			
		||||
                        _type: "slash_command", // instrumentation
 | 
			
		||||
                    };
 | 
			
		||||
 | 
			
		||||
                    if (entity[0] === '!') dispatch["room_id"] = entity;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user