some concurrency additions (#2698)
This commit is contained in:
@@ -697,13 +697,11 @@ void UserInfoPopup::updateUserData()
|
||||
|
||||
// get ignore state
|
||||
bool isIgnoring = false;
|
||||
for (const auto &blockedUser : currentUser->getBlocks())
|
||||
|
||||
if (auto blocks = currentUser->accessBlockedUserIds();
|
||||
blocks->find(user.id) != blocks->end())
|
||||
{
|
||||
if (user.id == blockedUser.id)
|
||||
{
|
||||
isIgnoring = true;
|
||||
break;
|
||||
}
|
||||
isIgnoring = true;
|
||||
}
|
||||
|
||||
// get ignoreHighlights state
|
||||
|
||||
Reference in New Issue
Block a user