Meta, the parent company of the social media platforms Instagram and Facebook, is ending its cross-chat feature between the two apps to comply with a new European Union law.