I don't think the IM era is over. Now, there is Slack, Facebook Messenger, and Google Hangouts. These have some very cool features and you can easily set up a chat with all your friends.
On desktop chat you would know that people would only be online if they made the conscious decision that they are up to chatting.