mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
removing double the
This commit is contained in:
parent
f45338be4c
commit
426389194e
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ object PermalinkParser {
|
||||||
.filter { it.isNotEmpty() }
|
.filter { it.isNotEmpty() }
|
||||||
.take(2)
|
.take(2)
|
||||||
|
|
||||||
// the the element-based domain permalinks (e.g. https://app.element.io/#/user/@chagai95:matrix.org) don't have the mxid in the first param (like matrix.to does - https://matrix.to/#/@chagai95:matrix.org) but rather in the second after /user/ so /user/mxid
|
// the element-based domain permalinks (e.g. https://app.element.io/#/user/@chagai95:matrix.org) don't have the mxid in the first param (like matrix.to does - https://matrix.to/#/@chagai95:matrix.org) but rather in the second after /user/ so /user/mxid
|
||||||
var identifier = params.getOrNull(0);
|
var identifier = params.getOrNull(0);
|
||||||
if (identifier.equals("user")) {
|
if (identifier.equals("user")) {
|
||||||
identifier = params.getOrNull(1)
|
identifier = params.getOrNull(1)
|
||||||
|
|
Loading…
Reference in a new issue