simply object return

This commit is contained in:
Iuri Matias 2024-10-07 12:50:42 -04:00
parent cdef9a7e5c
commit c508e59ff8
1 changed files with 2 additions and 13 deletions

View File

@ -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) {