add button to reset path

This commit is contained in:
liamcottle
2025-02-13 01:31:20 +13:00
parent f99724bea2
commit 24fec964de
2 changed files with 19 additions and 0 deletions

View File

@@ -65,6 +65,10 @@ class Connection {
await GlobalState.connection.sendCommandSetDeviceTime(timestamp);
}
static async resetContactPath(publicKey) {
await GlobalState.connection.sendCommandResetPath(publicKey);
}
static async removeContact(publicKey) {
await GlobalState.connection.sendCommandRemoveContact(publicKey);
}