From 23bcc9d891ac4d1160a58158b34777a19ddcfcce Mon Sep 17 00:00:00 2001 From: holan20180123 Date: Fri, 13 Aug 2021 14:53:15 +0800 Subject: [PATCH] * Finish task #41227. --- module/webhook/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/webhook/model.php b/module/webhook/model.php index b5f8849284..cb42db7124 100644 --- a/module/webhook/model.php +++ b/module/webhook/model.php @@ -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);