mirror of
https://github.com/balzack/databag.git
synced 2025-02-11 19:19:16 +00:00
fixing connection request error
This commit is contained in:
parent
d02130679b
commit
15bd17dd5f
@ -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 || {};
|
||||
|
Loading…
Reference in New Issue
Block a user