From: Tim Düsterhus Date: Fri, 23 Apr 2021 09:06:27 +0000 (+0200) Subject: Add missing UserIgnore::TYPE_HIDE_MESSAGES parameter X-Git-Tag: 5.4.0_Alpha_1~53 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cbfe63ddbbabb12ae53ff6b0f6c1cbc2344a6172;p=GitHub%2FWoltLab%2FWCF.git Add missing UserIgnore::TYPE_HIDE_MESSAGES parameter This was missed in #4064, because it was recently added. see 1f559e452754ac0ebaf694499ba9fe30dff2c35f --- diff --git a/wcfsetup/install/files/lib/system/box/RecentActivityListBoxController.class.php b/wcfsetup/install/files/lib/system/box/RecentActivityListBoxController.class.php index 5052c32174..55ae44fe8b 100644 --- a/wcfsetup/install/files/lib/system/box/RecentActivityListBoxController.class.php +++ b/wcfsetup/install/files/lib/system/box/RecentActivityListBoxController.class.php @@ -219,10 +219,10 @@ class RecentActivityListBoxController extends AbstractDatabaseObjectListBoxContr 'user_activity_event.userID IN (?)', [WCF::getUserProfileHandler()->getFollowingUsers()] ); - } elseif (!empty(UserProfileHandler::getInstance()->getIgnoredUsers())) { + } elseif (!empty(UserProfileHandler::getInstance()->getIgnoredUsers(UserIgnore::TYPE_HIDE_MESSAGES))) { $this->objectList->getConditionBuilder()->add( "user_activity_event.userID NOT IN (?)", - [UserProfileHandler::getInstance()->getIgnoredUsers()] + [UserProfileHandler::getInstance()->getIgnoredUsers(UserIgnore::TYPE_HIDE_MESSAGES)] ); }