Store own gxs information on ChatCache

This commit is contained in:
Angela Mazzurco 2017-06-22 18:15:24 +02:00
parent ac25a4d23a
commit 32078d3243
2 changed files with 2 additions and 0 deletions

View File

@ -100,6 +100,7 @@ QtObject
{
id: contactsCache
property var contactsList
property var own
function getContactFromGxsId (gxsId)
{

View File

@ -72,6 +72,7 @@ Item
if(json.data.length > 0)
{
ChatCache.contactsCache.own = json.data[0]
contactsView.own_gxs_id = json.data[0].gxs_id
contactsView.own_nick = json.data[0].name
if(mainWindow.user_name.length === 0)