mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Store own gxs information on ChatCache
This commit is contained in:
parent
ac25a4d23a
commit
32078d3243
@ -100,6 +100,7 @@ QtObject
|
|||||||
{
|
{
|
||||||
id: contactsCache
|
id: contactsCache
|
||||||
property var contactsList
|
property var contactsList
|
||||||
|
property var own
|
||||||
|
|
||||||
function getContactFromGxsId (gxsId)
|
function getContactFromGxsId (gxsId)
|
||||||
{
|
{
|
||||||
|
@ -72,6 +72,7 @@ Item
|
|||||||
|
|
||||||
if(json.data.length > 0)
|
if(json.data.length > 0)
|
||||||
{
|
{
|
||||||
|
ChatCache.contactsCache.own = json.data[0]
|
||||||
contactsView.own_gxs_id = json.data[0].gxs_id
|
contactsView.own_gxs_id = json.data[0].gxs_id
|
||||||
contactsView.own_nick = json.data[0].name
|
contactsView.own_nick = json.data[0].name
|
||||||
if(mainWindow.user_name.length === 0)
|
if(mainWindow.user_name.length === 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user