auto sync new message in test ui

This commit is contained in:
liamcottle 2025-02-15 23:23:30 +13:00
parent e12d87c6ba
commit b708d5c834

View file

@ -198,6 +198,11 @@
await this.loadContacts();
});
this.connection.on(Constants.PushCodes.MsgWaiting, async (event) => {
console.log("MsgWaiting", event);
await this.syncNextMessage();
});
this.connection.on(Constants.ResponseCodes.ExportContact, async (event) => {
console.log("ExportContact", event);
});
@ -374,7 +379,7 @@
},
async setPath(contact) {
await this.connection.setContactPath(contact, [
0xf4,
0xd2,
]);
},
bytesToHex(uint8Array) {