fix(new-links): Fix processing links to profile without encoded data
Fixes: #12848
This commit is contained in:
parent
bfb5813c5f
commit
34097f9dea
|
@ -698,7 +698,12 @@ QtObject {
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseContactUrl(link) {
|
function parseContactUrl(link) {
|
||||||
const index = link.lastIndexOf("/u/")
|
let index = link.lastIndexOf("/u/")
|
||||||
|
|
||||||
|
if (index === -1) {
|
||||||
|
index = link.lastIndexOf("/u#")
|
||||||
|
}
|
||||||
|
|
||||||
if (index === -1)
|
if (index === -1)
|
||||||
return null
|
return null
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue