implement basic send message

This commit is contained in:
liamcottle
2025-02-13 01:35:38 +13:00
parent 24fec964de
commit 928bd45d81
2 changed files with 17 additions and 2 deletions

View File

@@ -73,6 +73,11 @@ class Connection {
await GlobalState.connection.sendCommandRemoveContact(publicKey);
}
static async sendMessage(publicKey, message) {
await GlobalState.connection.sendTextMessage(publicKey, message);
// todo handle acks
}
}
export default Connection;