docs: public PubSub modifyAffiliationAsOwner(List<Affiliation> affiliations) throws NoResponseException,
                      XMPPErrorException, NotConnectedException, InterruptedException {
          for (Affiliation affiliation : affiliations) {
              if (affiliation.getPubSubNamespace() != PubSubNamespace.owner) {
                  throw new IllegalArgumentException("Must use Affiliation(BareJid, Type) affiliations");
              }
          }
  
          PubSub pubSub = createPubsubPacket(Type.set, new AffiliationsExtension(AffiliationNamespace.owner, affiliations, getId()));
          return sendPubsubPacket(pubSub);
      }