Open chat when click notification of one chat new message

This commit is contained in:
Angela Mazzurco 2017-07-31 17:42:45 +02:00
parent c86b7c79ae
commit e39b310c78
2 changed files with 23 additions and 2 deletions

View file

@ -47,7 +47,11 @@ QtObject
.arg(json.data[0].unread_count)
.arg(json.data[0].unread_count > 1 ? "messages" : "message")
.arg(json.data[0].remote_author_name),
qsTr("/contacts")
qsTr("/contacts%1").arg(
convCnt == 1?
"?gxsId="+json.data[0].remote_author_id +
"&name="+json.data[0].remote_author_name
: "")
)
}
}