public boolean respondToFriendRequest(boolean accepted, FriendRequest friendRequest) {
    if (isAuthorized) {
      FriendRequestResponseMessage message = new FriendRequestResponseMessage(accepted, friendRequest);
      sendMessageToServer(message);
      return true;
    }
    return false;
  }