EventContent: avoid some false name detection
This commit is contained in:
		@@ -17,7 +17,7 @@ HRowLayout {
 | 
				
			|||||||
        const lines = []
 | 
					        const lines = []
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        for (const [name, link] of mentions) {
 | 
					        for (const [name, link] of mentions) {
 | 
				
			||||||
            if (name.startsWith("#") || name.startsWith("!")) continue
 | 
					            if (! link.match(/^https?:\/\/matrix.to\/#\/@.+/)) continue
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            lines.push(
 | 
					            lines.push(
 | 
				
			||||||
                `.mention[data-mention='${name}'] { color: ` +
 | 
					                `.mention[data-mention='${name}'] { color: ` +
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user