Using "they" in the context is an example of gender-neutral language. It avoids making assumptions about the friends or colleagues gender. Using gender-neutral language like "they" is becoming increasingly common and accepted, it's not yet a strict rule in all contexts. It's generally considered good practice to use inclusive language, but the specific choice often depends on the target audience, tone, and style of the writing.