repo: janusweb
action: commit
revision: 
path_from: 
revision_from: e4f7952639f94054e6586ab30ae45d3a77938d96:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit e4f7952639f94054e6586ab30ae45d3a77938d96
Author: James Baicoianu 
Date:   Sun May 13 18:02:35 2018 -0700

    Use title from translators

diff --git a/scripts/room.js b/scripts/room.js
index ebaa78aceb1fbad59a0ea0b0b803068da5ce11fc..
index ..caa8bed8a2c79c92da1ad5e0644952985b1f1b3c 100644
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -419,6 +419,9 @@ elation.require([
           // TODO - use the new official translators here!
           translator.exec({url: url, janus: this.properties.janus, room: this})
                     .then(elation.bind(this, function(objs) {
+                      if (objs.room.title) {
+                        this.setTitle(objs.room.title);
+                      }
                       this.roomsrc = objs.source;
                       this.loadRoomAssets(objs);
                       this.createRoomObjects(objs);

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