diff storage.js @ 33:62cbb1c49bc5

Fix publish; add owner metadata field; add HTTP module and Atom HTTP module.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 05 Nov 2010 14:01:45 +0100
parents f2e9365bc8ec
children 6697f394301f
line wrap: on
line diff
--- a/storage.js
+++ b/storage.js
@@ -64,6 +64,8 @@ storage.getMetadata = function(nodeID) {
 			md[i] = node.configuration[i];
 		else if (node.metadata[i])
 			md[i] = node.metadata[i];
+		else if (i == 'pubsub#owner')
+			md[i] = node.owner;
 	}
 	return md;
 };