simply object return
This commit is contained in:
parent
cdef9a7e5c
commit
c508e59ff8
|
@ -152,19 +152,8 @@ QtObject {
|
|||
|
||||
function getContactDetails(publicKey) {
|
||||
const details = Utils.getContactDetailsAsJson(publicKey)
|
||||
return {
|
||||
publicKey: publicKey,
|
||||
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
|
||||
}
|
||||
details.publicKey = publicKey
|
||||
return details
|
||||
}
|
||||
|
||||
function openNicknamePopup(publicKey: string, contactDetails, cb) {
|
||||
|
|
Loading…
Reference in New Issue