more fixes

This commit is contained in:
Raven Scott
2025-11-24 19:29:37 -05:00
parent 5200028070
commit ebd6512976
3 changed files with 143 additions and 82 deletions
+5
View File
@@ -3673,6 +3673,11 @@ function handlePeerData(data, topicId, peer) {
if (response.success && Array.isArray(response.contents) && response.path !== undefined) {
// This is a directory browser response, let the directory handler process it
// Don't warn about it
}
// Check if this is a volumes list response (no type field, but has volumes array)
else if (response.success && Array.isArray(response.volumes)) {
// This is a volumes list response, let the volume handler process it
// Don't warn about it
} else {
console.warn(`[WARN] Unhandled response type: ${response.type}`);
}