repo: janusweb action: commit revision: path_from: revision_from: e4f7952639f94054e6586ab30ae45d3a77938d96: path_to: revision_to:
commit e4f7952639f94054e6586ab30ae45d3a77938d96 Author: James BaicoianuDate: Sun May 13 18:02:35 2018 -0700 Use title from translators diff --git a/scripts/room.js b/scripts/room.js
--- 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-----