From 7c1fe7a765ef6383d1730a5e377bc22066231b06 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Fri, 11 Nov 2016 18:23:43 +0500 Subject: PLT-4316 - Webrtc improvements (#4525) --- webapp/components/channel_header.jsx | 41 ++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 20 deletions(-) (limited to 'webapp/components/channel_header.jsx') diff --git a/webapp/components/channel_header.jsx b/webapp/components/channel_header.jsx index 1ce7b4a0e..a281e8e1b 100644 --- a/webapp/components/channel_header.jsx +++ b/webapp/components/channel_header.jsx @@ -300,6 +300,13 @@ export default class ChannelHeader extends React.Component { if (isOffline || busy) { circleClass = 'offline'; + webrtcMessage = ( + + ); + if (busy) { webrtcMessage = ( {webrtcMessage} + ); + webrtc = (
this.initWebrtc(contact.id, !isOffline)} disabled={isOffline} > - - - - {webrtcMessage} - - - - + +
+ ); -- cgit v1.2.3-1-g7c22