diff --git a/app/lib/RoomClient.js b/app/lib/RoomClient.js index 4599d03..a5c762e 100644 --- a/app/lib/RoomClient.js +++ b/app/lib/RoomClient.js @@ -464,12 +464,12 @@ export default class RoomClient logger.warn('DataConsumer "close" event'); this._dataConsumers.delete(dataConsumer.id); - - store.dispatch(requestActions.notify( - { - type : 'error', - text : 'DataConsumer 已关闭' - })); + + // store.dispatch(requestActions.notify( + // { + // type : 'error', + // text : `${peerId} 退出房间` + // })); }); dataConsumer.on('error', (error) => @@ -1925,7 +1925,7 @@ export default class RoomClient store.dispatch(requestActions.notify( { type : 'error', - text : 'Bot DataProducer 已关闭' + text : 'Bot DataProducer closed' })); }); diff --git a/app/lib/components/Room.jsx b/app/lib/components/Room.jsx index e31468a..ed60ef8 100644 --- a/app/lib/components/Room.jsx +++ b/app/lib/components/Room.jsx @@ -35,7 +35,9 @@ class Room extends React.Component
- {history.push('/counselling/expertList')}}> + { + + }}> 值班专家{`>`} 在线聊天