mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-07 12:17:38 +00:00
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) {
|
||||
const index = link.lastIndexOf("/u/")
|
||||
let index = link.lastIndexOf("/u/")
|
||||
|
||||
if (index === -1) {
|
||||
index = link.lastIndexOf("/u#")
|
||||
}
|
||||
|
||||
if (index === -1)
|
||||
return null
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user