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 
			
		
		
		
	Replace Riot with Element in docs and comments
This only covers the simple cases of references to issues and repos. More complex areas, such as deployment scripts, will be handled separately. Part of https://github.com/vector-im/element-web/issues/14864
This commit is contained in:
		@@ -479,7 +479,7 @@ export const Commands = [
 | 
			
		||||
                    const parsedUrl = new URL(params[0]);
 | 
			
		||||
                    const hostname = parsedUrl.host || parsedUrl.hostname; // takes first non-falsey value
 | 
			
		||||
 | 
			
		||||
                    // if we're using a Riot permalink handler, this will catch it before we get much further.
 | 
			
		||||
                    // if we're using a Element permalink handler, this will catch it before we get much further.
 | 
			
		||||
                    // see below where we make assumptions about parsing the URL.
 | 
			
		||||
                    if (isPermalinkHost(hostname)) {
 | 
			
		||||
                        isPermalink = true;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user