Freichat to show offline and online friends

Hello good people,

Please i need help. I want to show both online and offline users. I spent some hours trying to figure out how to do this hack but to no avail. I checked google but it seems nobody has done this. I think where to do this hack is located here chat/vendors/freichat/server/drivers/Elgg.php

Please any help is much appreciated.