Long time back, when Facebook chat was updated, it started showing even the friends that were not online or were offline. So, many Facebook users were not happy with this change and wanted their chat windows to show only the online friends. So, we found a nice chrome extension that will hide the offline friends and only show the online ones.
A screenshot after installing the extension. All the offline friends were hidden and only online friends were visible in the chat window.
Install Facebook Chat Fix