Revert "* add an exception for approval flow notifications."
This reverts commit 9637c6d303.
This commit is contained in:
@@ -214,16 +214,11 @@ class xuanxuanIm extends imModel
|
||||
$messageGroups[$contentData->contentType][] = $message;
|
||||
continue;
|
||||
}
|
||||
if($contentData->objectType == 'story' && $contentData->action == 'reviewed')
|
||||
if ($contentData->objectType == 'story' && $contentData->action == 'reviewed')
|
||||
{
|
||||
$extra = explode(',', $contentDataOuter->extra)[0];
|
||||
$messageGroups["$contentData->objectType-$contentData->parentType-$contentData->action-$contentData->actor-$extra"][] = $message;
|
||||
}
|
||||
if($message->contentType == 'text')
|
||||
{
|
||||
$messageGroups['text'][] = $message;
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
$messageGroups["$contentData->objectType-$contentData->parentType-$contentData->action-$contentData->actor"][] = $message;
|
||||
|
||||
Reference in New Issue
Block a user