-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: janusweb
action: commit
revision:
path_from:
revision_from: 920b6f094ab9dffe6dcb2a5e9690660a2e7e4d7a:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit 920b6f094ab9dffe6dcb2a5e9690660a2e7e4d7a
Author: James Baicoianu <james_github@baicoianu.com>
Date:   Sat Mar 13 15:56:00 2021 -0800

    Add websurfaces to list of assets (fixes missing websurfaces in rooms with no other assets)

diff --git a/scripts/external/JanusFireboxParser.js b/scripts/external/JanusFireboxParser.js

index b2c97a44972d252ac3a2e12156ffb565f488f594..

index ..2ad519518f3010e61b54816b6a34b59618672121 100644

--- a/scripts/external/JanusFireboxParser.js
+++ b/scripts/external/JanusFireboxParser.js
@@ -112,7 +112,10 @@ JanusFireboxParser.prototype.parseAssets = function(xml, baseurl, datapath) {
     });
   });
   var websurfaces = {};
-  websurfaceassets.forEach(function(n) { websurfaces[n.id] = n; });
+  websurfaceassets.forEach(function(n) {
+    websurfaces[n.id] = n;
+    assetlist.push(n);
+  });
   scriptassets.forEach(function(n) {
     var src = fixURLEncoding(n.src.match(/^file:/) ? n.src.replace(/^file:/, datapath) : n.src);
     assetlist.push({

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 18:30:05 2024