This allows us to set affiliations in MUCs without having to first enter the MUC in order to create a `ChatRoom` instance.
and put them together in a utils file