From 648fd2a622353ecdb94eb0244c4dc8b6676d8a89 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 19 Sep 2014 18:22:14 +0100 Subject: Notify a callee that their browser doesn't support VoIP too. SYWEB-14 #resolved --- webclient/room/room-controller.js | 1 - webclient/room/room.html | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'webclient/room') diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js index 7f2d405122..166434d1af 100644 --- a/webclient/room/room-controller.js +++ b/webclient/room/room-controller.js @@ -34,7 +34,6 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput']) stream_failure: undefined, // the response when the stream fails waiting_for_joined_event: false, // true when the join request is pending. Back to false once the corresponding m.room.member event is received messages_visibility: "hidden", // In order to avoid flickering when scrolling down the message table at the page opening, delay the message table display - webRTCSupported: isWebRTCSupported() // true if the browser does not support WebRTC }; $scope.members = {}; $scope.autoCompleting = false; diff --git a/webclient/room/room.html b/webclient/room/room.html index dfbea492d9..d12f79cd21 100644 --- a/webclient/room/room.html +++ b/webclient/room/room.html @@ -111,8 +111,8 @@ ng-class="containsBingWord(msg.content.body) && msg.user_id != state.user_id ? msg.echo_msg_state + ' messageBing' : msg.echo_msg_state" ng-bind-html="((msg.content.msgtype === 'm.text') ? msg.content.body : '') | linky:'_blank'"/> - Outgoing Call - Incoming Call + Outgoing Call{{ isWebRTCSupported ? '' : ' (But your browser does not support VoIP)' }} + Incoming Call{{ isWebRTCSupported ? '' : ' (But your browser does not support VoIP)' }}
@@ -178,15 +178,15 @@ -- cgit 1.5.1