Open own contact details page when click your identity

This commit is contained in:
Angela Mazzurco 2017-09-07 18:47:08 +02:00
parent 79f09f14ac
commit 335c1463e6

View File

@ -50,7 +50,14 @@ Item
console.log("GxsIntentityDelegate onclicked:", model.name, console.log("GxsIntentityDelegate onclicked:", model.name,
model.gxs_id) model.gxs_id)
contactsView.searching = false contactsView.searching = false
if(model.own) contactsView.own_gxs_id = model.gxs_id if(model.own)
{
contactsView.own_gxs_id = model.gxs_id
stackView.push(
"qrc:/ContactDetails.qml",
{md: ChatCache.contactsCache.getContactFromGxsId(model.gxs_id)})
}
else else
{ {
startDistantChat() startDistantChat()