mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Regex: Fixes Permalink action on timeline (#303)
This commit is contained in:
@@ -184,7 +184,7 @@ final class LoginCoordinator: Coordinator, Presentable {
|
||||
|
||||
/// Parses the specified username and looks up the homeserver when a Matrix ID is entered.
|
||||
private func parseUsername(_ username: String) {
|
||||
guard username.isMatrixUserID else { return }
|
||||
guard MatrixEntityRegex.isMatrixUserIdentifier(username) else { return }
|
||||
|
||||
let homeserverDomain = String(username.split(separator: ":")[1])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user