What the two of you are doing isn’t code-switching, since you’re using different language varieties with different sets of conversation partners, but not different language varieties simultaneously with the same set of conversation partners. There’s another thread for that practice that you might like: Do you use a different accent or dialect, depending on who you speak to?