chore: remove dead code and get rid of MSVC warnings (#6024)
This commit is contained in:
@@ -924,9 +924,9 @@ void UserInfoPopup::updateUserData()
|
||||
// get ignoreHighlights state
|
||||
bool isIgnoringHighlights = false;
|
||||
const auto &vector = getSettings()->blacklistedUsers.raw();
|
||||
for (const auto &user : vector)
|
||||
for (const auto &blockedUser : vector)
|
||||
{
|
||||
if (this->userName_ == user.getPattern())
|
||||
if (this->userName_ == blockedUser.getPattern())
|
||||
{
|
||||
isIgnoringHighlights = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user