diff --git a/static/js/controllers/uicontroller.js b/static/js/controllers/uicontroller.js index e3fd661a..89a04dee 100644 --- a/static/js/controllers/uicontroller.js +++ b/static/js/controllers/uicontroller.js @@ -690,6 +690,10 @@ define(['jquery', 'underscore', 'bigscreen', 'moment', 'sjcl', 'modernizr', 'web } }); + $scope.$on("room.updated", function(event, room) { + $scope.roomType = room ? room.Type : null; + }); + // Apply all layout stuff as classes to our element. $scope.$watch("layout", (function() { var makeName = function(prefix, n) { diff --git a/static/partials/buddyactions.html b/static/partials/buddyactions.html index b3898e2b..d21dc5c9 100644 --- a/static/partials/buddyactions.html +++ b/static/partials/buddyactions.html @@ -1,7 +1,7 @@
- +
@@ -12,7 +12,7 @@
{{s.Status.displayName|displayNameForSession:s.Id}}, {{s.Status.message}}
- +
diff --git a/static/partials/chatroom.html b/static/partials/chatroom.html index 49d73b2d..6f59622b 100644 --- a/static/partials/chatroom.html +++ b/static/partials/chatroom.html @@ -2,7 +2,7 @@
{{settings.title}} {{id|displayName}}
- +