fixing connection request error

This commit is contained in:
balzack 2023-10-06 23:14:56 -07:00
parent d02130679b
commit 15bd17dd5f

View File

@ -23,7 +23,6 @@ export function useContact(contact, back) {
guid: null,
busy: false,
offsync: false,
strings: getLanguageStrings(),
imageSource: null,
@ -63,7 +62,7 @@ export function useContact(contact, back) {
const username = `${handle}/${node}`
const imageSource = imageSet ? { uri: card.actions.getCardImageUrl(cardId) } : avatar;
const status = offsync ? 'offsync' : detail.status;
updateState({ name, handle, node: server, location, description, imageSource, username, cardId, guid, status });
updateState({ name, handle, node: host, location, description, imageSource, username, cardId, guid, status });
}
else {
const { guid, handle, node, name, location, description, imageSet } = contact || {};