add ability to share existing contacts

This commit is contained in:
liamcottle
2025-02-15 23:35:34 +13:00
parent dbbad7daae
commit c433abb9f5
2 changed files with 21 additions and 0 deletions

View File

@@ -191,6 +191,10 @@ class Connection {
await GlobalState.connection.sendCommandRemoveContact(publicKey);
}
static async shareContact(publicKey) {
await GlobalState.connection.shareContact(publicKey);
}
static async sendMessage(publicKey, text) {
// send message