[Sprint/FunnyFrog](bug): Fixed bug that was stopping blocking from working #488
Closes #488 (closed)
if (is_array($response['participants']) && false) {
meant that checking whether a user was blocked was never being attempted by the server - regardless the old code behind it no longer functioned, so I refactored it using
$blocked = Core\Security\ACL\Block::_()->isBlocked($participant['guid']);//check whether user is blocked
By my tests, this allows users to block bidirectionally (e.g. bob can block alice, then alice can block pop), and is respected when the window is reloaded.