diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/js/arching-kaos-tools.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/js/arching-kaos-tools.js b/src/js/arching-kaos-tools.js index a531290..db5276c 100644 --- a/src/js/arching-kaos-tools.js +++ b/src/js/arching-kaos-tools.js @@ -248,11 +248,14 @@ function seekblock(blockIPFSHash,zblockIPFSHash,zchainIPNSLink,zblockObject){ function getNicknameAssossiatedWithGPG(gpgIPFSHash){ for (let i in participants){ if ( participants[i].gpg === gpgIPFSHash ){ - if (participants[i].profile.nickname){ + if (participants[i].profile.nickname !== 'undefined'){ return participants[i].profile.nickname; + } else { + return gpgIPFSHash; } } } + return gpgIPFSHash; } function getConfiguration(akidIPNSLink,stellarAddress){ |