I have something like this in my local copy too. It might be enough to just do 
```php
if ($account->get_username() !~ m|chat.hipchat.com/|
```