Workaround for open user profiles from toots
This commit is contained in:
parent
c716191137
commit
5a6a7646e6
1 changed files with 4 additions and 6 deletions
|
@ -134,12 +134,10 @@ BackgroundItem {
|
||||||
}));
|
}));
|
||||||
send(link)
|
send(link)
|
||||||
} else if (test.length === 4 && test[3][0] === "@" ) {
|
} else if (test.length === 4 && test[3][0] === "@" ) {
|
||||||
pageStack.push(Qt.resolvedUrl("../Profile.qml"), {
|
tlSearch.search = decodeURIComponent("@"+test[3].substring(1)+"@"+test[2])
|
||||||
"display_name": account_display_name,
|
slideshow.positionViewAtIndex(4, ListView.SnapToItem)
|
||||||
"username": account_username,
|
navigation.navigateTo('search')
|
||||||
"user_id": model.account_id,
|
|
||||||
"profileImage": account_avatar
|
|
||||||
})
|
|
||||||
} else {
|
} else {
|
||||||
Qt.openUrlExternally(link);
|
Qt.openUrlExternally(link);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue