fix(mesh): correct rpcClient.call() usage in clear-all button
All checks were successful
Build Archipelago ISO (dev) / build-iso (push) Successful in 17m41s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-04-18 12:00:32 -04:00
parent 15800ae747
commit 3d7a470064

View File

@@ -232,9 +232,9 @@ async function refreshOutboxCount() {
async function clearAllMesh() {
if (!window.confirm('Clear all mesh peers, messages, and chat history? This cannot be undone.')) return
try {
await rpcClient('mesh.clear-all')
await rpcClient.call({ method: 'mesh.clear-all' })
await mesh.refreshAll()
selectedPeer.value = null
activeChatPeer.value = null
} catch (e) {
console.error('Failed to clear mesh:', e)
}