From 0beafeddb9e45bc3d4ce0f8f3510515f18b54b51 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Fri, 11 Dec 2015 15:01:16 +0000 Subject: [PATCH] Use the 'muted' icon when the mic is muted during a call --- src/components/views/rooms/RoomHeader.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/views/rooms/RoomHeader.js b/src/components/views/rooms/RoomHeader.js index f2ab5ea669..819896db7b 100644 --- a/src/components/views/rooms/RoomHeader.js +++ b/src/components/views/rooms/RoomHeader.js @@ -241,9 +241,13 @@ module.exports = React.createClass({
Video call
; + var img = "img/voip.png"; + if (activeCall.isMicrophoneMuted()) { + img = "img/voip-mute.png"; + } voice_button =
- VoIP call + VoIP call
; }