react_hsbc_teller 1.9.26 → 1.9.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react_hsbc_teller",
3
- "version": "1.9.26",
3
+ "version": "1.9.28",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -296,7 +296,7 @@ class Video extends Component {
296
296
  saveLog = (val) => {
297
297
  axios({
298
298
  method: 'get',
299
- baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.9.26&logTime=' + Date.now() + '&mtoken=' + encodeURIComponent(this.state.rtoken) + '&roomId=' + encodeURIComponent(this.state.channelId) + '&sessionId=' + encodeURIComponent(this.state.sessionId) + '&appointmentID=' + this.props.businessNumber,
299
+ baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.9.28&logTime=' + Date.now() + '&mtoken=' + encodeURIComponent(this.state.rtoken) + '&roomId=' + encodeURIComponent(this.state.channelId) + '&sessionId=' + encodeURIComponent(this.state.sessionId) + '&appointmentID=' + this.props.businessNumber,
300
300
 
301
301
  }).then(res => {
302
302
 
@@ -1985,6 +1985,10 @@ class Video extends Component {
1985
1985
  participants.map((item, index) => {
1986
1986
  if (item.uid != this.state.tellerAccount) {
1987
1987
  item.publish.map((itemOne, indexOne) => {
1988
+ if (itemOne.tag && itemOne.tag.includes('UnSubscribe_RM')) {
1989
+ console.log('过滤订阅的tag:', itemOne.tag)
1990
+ return
1991
+ }
1988
1992
  let array = this.state.roomCustomerList;
1989
1993
  let newArray = [...array];
1990
1994
  newArray.push({
@@ -2062,6 +2066,10 @@ class Video extends Component {
2062
2066
  this.test_controller.OnNewPublish = (feed) => {
2063
2067
  console.log('有新发布者', feed);
2064
2068
  console.log(new Date())
2069
+ if (feed.tag && feed.tag.includes('UnSubscribe_RM')) {
2070
+ console.log('过滤订阅的tag:', feed.tag)
2071
+ return
2072
+ }
2065
2073
  callNimIM('sendCustomCmdMsg', {
2066
2074
  customId: this.state.imRoomId,
2067
2075
  content: JSON.stringify({
@@ -2956,7 +2964,7 @@ class Video extends Component {
2956
2964
  }
2957
2965
  }
2958
2966
  componentWillMount() {
2959
- console.log('hsbc_teller_sdk', '1.9.26')
2967
+ console.log('hsbc_teller_sdk', '1.9.28')
2960
2968
  let arr = []
2961
2969
  for(let i=1;i<=12;i++){
2962
2970
  arr.push({