simply object return
This commit is contained in:
parent
cdef9a7e5c
commit
c508e59ff8
|
@ -152,19 +152,8 @@ QtObject {
|
||||||
|
|
||||||
function getContactDetails(publicKey) {
|
function getContactDetails(publicKey) {
|
||||||
const details = Utils.getContactDetailsAsJson(publicKey)
|
const details = Utils.getContactDetailsAsJson(publicKey)
|
||||||
return {
|
details.publicKey = publicKey
|
||||||
publicKey: publicKey,
|
return details
|
||||||
localNickname: details.localNickname,
|
|
||||||
name: details.name,
|
|
||||||
displayName: details.displayName,
|
|
||||||
alias: details.alias,
|
|
||||||
ensVerified: details.ensVerified,
|
|
||||||
onlineStatus: details.onlineStatus,
|
|
||||||
largeImage: details.largeImage,
|
|
||||||
isContact: details.isContact,
|
|
||||||
trustStatus: details.trustStatus,
|
|
||||||
isBlocked: details.isBlocked
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function openNicknamePopup(publicKey: string, contactDetails, cb) {
|
function openNicknamePopup(publicKey: string, contactDetails, cb) {
|
||||||
|
|
Loading…
Reference in New Issue