Friends Chat

Hi, I am wondering if the "chat" plugin can be used to allow buddypress users to chat amoungst themselves if they are friends? like facebook..