* Finish task #41227.

This commit is contained in:
holan20180123
2021-08-13 14:53:15 +08:00
parent 2f2abb8294
commit 23bcc9d891
+1
View File
@@ -588,6 +588,7 @@ class webhookModel extends model
$toList = $this->loadModel('message')->getToList($object, $action->objectType);
if(!empty($object->mailto)) $toList .= ',' . $object->mailto;
if(empty($toList)) return false;
$toList = str_replace(",{$this->app->user->account},", '', ",$toList,");
$openIdList = $this->getBoundUsers($webhookID, $toList);
$openIdList = join(',', $openIdList);