Merge pull request #50 from matrix-org/rav/mute_icon
Use the 'muted' icon when the mic is muted during a callpull/21833/head
						commit
						1f54467e6f
					
				|  | @ -241,9 +241,13 @@ module.exports = React.createClass({ | |||
|                         <div className="mx_RoomHeader_button mx_RoomHeader_video" onClick={activeCall && activeCall.type === "video" ? this.onMuteVideoClick : this.onVideoClick}> | ||||
|                             <img src="img/video.png" title="Video call" alt="Video call" width="32" height="32" style={{ 'marginTop': '-8px' }}/> | ||||
|                         </div>; | ||||
|                 var img = "img/voip.png"; | ||||
|                 if (activeCall.isMicrophoneMuted()) { | ||||
|                         img = "img/voip-mute.png"; | ||||
|                 } | ||||
|                 voice_button = | ||||
|                         <div className="mx_RoomHeader_button mx_RoomHeader_voice" onClick={activeCall ? this.onMuteAudioClick : this.onVoiceClick}> | ||||
|                             <img src="img/voip.png" title="VoIP call" alt="VoIP call" width="32" height="32" style={{ 'marginTop': '-8px' }}/> | ||||
|                             <img src={img} title="VoIP call" alt="VoIP call" width="32" height="32" style={{ 'marginTop': '-8px' }}/> | ||||
|                         </div>; | ||||
|             } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Matthew Hodgson
						Matthew Hodgson