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.
@@ -31382,7 +31382,7 @@ const loadJson = function (url, param, backSuccfn, async, method, headers) {
31382
31382
  * @param {*} connectcallfunc 通讯录通知处理
31383
31383
  */
31384
31384
 
31385
- const initCometd = function (meetcallfunc, callfunc, videocallfunc, connectcallfunc, sip) {
31385
+ const initCometd = function (meetcallfunc, callfunc, videocallfunc, connectcallfunc, appMsgfunc, sip) {
31386
31386
  //初始
31387
31387
  let server_ = sip || server;
31388
31388
 
@@ -31411,7 +31411,8 @@ const initCometd = function (meetcallfunc, callfunc, videocallfunc, connectcallf
31411
31411
  meetcallfunc,
31412
31412
  callfunc,
31413
31413
  videocallfunc,
31414
- connectcallfunc
31414
+ connectcallfunc,
31415
+ appMsgfunc
31415
31416
  });
31416
31417
  }
31417
31418
 
@@ -31458,6 +31459,13 @@ function doSubscribe(_cometd, callback) {
31458
31459
  _cometd.subscribe("/scooper_core/#", null, function (message) {
31459
31460
  callback.connectcallfunc(message);
31460
31461
  });
31462
+ } // scooper-msg-app 人员状态变化通知
31463
+
31464
+
31465
+ if (callback.appMsgfunc) {
31466
+ _cometd.subscribe("/scooper-app-msg/orgmember/heartbeat", null, function (message) {
31467
+ callback.appMsgfunc(message);
31468
+ });
31461
31469
  }
31462
31470
  }
31463
31471
  /**
Binary file