ucservice 1.8.5 → 1.8.6

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.
@@ -31391,7 +31391,7 @@ const loadJson = function (url, param, backSuccfn, async, method, headers) {
31391
31391
  * @param {*} connectcallfunc 通讯录通知处理
31392
31392
  */
31393
31393
 
31394
- const initCometd = function (meetcallfunc, callfunc, videocallfunc, connectcallfunc, sip) {
31394
+ const initCometd = function (meetcallfunc, callfunc, videocallfunc, connectcallfunc, appMsgfunc, sip) {
31395
31395
  //初始
31396
31396
  let server_ = sip || server;
31397
31397
 
@@ -31420,7 +31420,8 @@ const initCometd = function (meetcallfunc, callfunc, videocallfunc, connectcallf
31420
31420
  meetcallfunc,
31421
31421
  callfunc,
31422
31422
  videocallfunc,
31423
- connectcallfunc
31423
+ connectcallfunc,
31424
+ appMsgfunc
31424
31425
  });
31425
31426
  }
31426
31427
 
@@ -31467,6 +31468,13 @@ function doSubscribe(_cometd, callback) {
31467
31468
  _cometd.subscribe("/scooper_core/#", null, function (message) {
31468
31469
  callback.connectcallfunc(message);
31469
31470
  });
31471
+ } // scooper-msg-app 人员状态变化通知
31472
+
31473
+
31474
+ if (callback.appMsgfunc) {
31475
+ _cometd.subscribe("/scooper-app-msg/orgmember/heartbeat", null, function (message) {
31476
+ callback.appMsgfunc(message);
31477
+ });
31470
31478
  }
31471
31479
  }
31472
31480
  /**
Binary file