Tapping on room link (with roomID) (#1853)

* room linking

* chagelog
This commit is contained in:
Mauro
2023-10-04 15:47:57 +02:00
committed by GitHub
parent e065f9d3a2
commit dce94e7d7d
4 changed files with 16 additions and 2 deletions
@@ -115,7 +115,8 @@ struct MatrixPermalinkParser: URLParser {
switch PermalinkBuilder.detectPermalink(in: url, baseURL: appSettings.permalinkBaseURL) {
case .userIdentifier(let userID):
return .roomMemberDetails(userID: userID)
// Other cases will be handled in the future
case .roomIdentifier(let roomID):
return .room(roomID: roomID)
default:
return nil
}