mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
Store own gxs information on ChatCache
This commit is contained in:
parent
ac25a4d23a
commit
32078d3243
2 changed files with 2 additions and 0 deletions
|
@ -100,6 +100,7 @@ QtObject
|
|||
{
|
||||
id: contactsCache
|
||||
property var contactsList
|
||||
property var own
|
||||
|
||||
function getContactFromGxsId (gxsId)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue