Friends list empty. Friends can’t send me msgs

My Friends list is empty and I can’t add new friends. When trying to add new friends I get the error message saying “failure”.

Resolved: battlenet social settings had switched chat off.