mirror of
https://github.com/meshcore-dev/meshcore.js.git
synced 2026-04-20 22:13:49 +00:00
add helper function for sharing contact
This commit is contained in:
parent
e262772fe3
commit
3040bb54a9
2 changed files with 32 additions and 1 deletions
|
|
@ -359,7 +359,7 @@
|
|||
|
||||
},
|
||||
async shareContact(contact) {
|
||||
await this.connection.sendCommandShareContact(contact.publicKey);
|
||||
await this.connection.shareContact(contact.publicKey);
|
||||
},
|
||||
async exportContact(contact) {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue