[#48343015] - checkFriendship function working correctly