* Adjust webhook send message.

This commit is contained in:
holan20180123
2021-06-18 14:53:12 +08:00
parent 812d48e9b5
commit caccf6b229

View File

@@ -163,6 +163,7 @@ class messageModel extends model
if(!empty($object->assignedTo)) $toList = $object->assignedTo;
if(empty($toList) and $objectType == 'todo') $toList = $object->account;
if(empty($toList) and $objectType == 'testtask') $toList = $object->owner;
if(empty($toList) and $objectType == 'meeting') $toList = $object->host . $object->participant;
if($toList == 'closed') $toList = '';
return $toList;