more fixes
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user