mirror of
https://github.com/balzack/databag.git
synced 2025-02-14 20:49:16 +00:00
fixing connection request error
This commit is contained in:
parent
d02130679b
commit
15bd17dd5f
@ -24,7 +24,6 @@ export function useContact(contact, back) {
|
|||||||
busy: false,
|
busy: false,
|
||||||
offsync: false,
|
offsync: false,
|
||||||
|
|
||||||
|
|
||||||
strings: getLanguageStrings(),
|
strings: getLanguageStrings(),
|
||||||
imageSource: null,
|
imageSource: null,
|
||||||
imageWidth: null,
|
imageWidth: null,
|
||||||
@ -63,7 +62,7 @@ export function useContact(contact, back) {
|
|||||||
const username = `${handle}/${node}`
|
const username = `${handle}/${node}`
|
||||||
const imageSource = imageSet ? { uri: card.actions.getCardImageUrl(cardId) } : avatar;
|
const imageSource = imageSet ? { uri: card.actions.getCardImageUrl(cardId) } : avatar;
|
||||||
const status = offsync ? 'offsync' : detail.status;
|
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 {
|
else {
|
||||||
const { guid, handle, node, name, location, description, imageSet } = contact || {};
|
const { guid, handle, node, name, location, description, imageSet } = contact || {};
|
||||||
|
Loading…
Reference in New Issue
Block a user