From cbfe63ddbbabb12ae53ff6b0f6c1cbc2344a6172 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 23 Apr 2021 11:06:27 +0200 Subject: [PATCH] Add missing UserIgnore::TYPE_HIDE_MESSAGES parameter This was missed in #4064, because it was recently added. see 1f559e452754ac0ebaf694499ba9fe30dff2c35f --- .../lib/system/box/RecentActivityListBoxController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)] ); } -- 2.20.1