Once loaded, friendly fire will be turned off for a player's explicitly added friends.
Please keep in mind that this is a one-way relationship, so both players have to add each other as friends to enable it mutually (just like also sharing positions works).