docs: public void addBookmarkedConference(String name, EntityBareJid jid, boolean isAutoJoin,
              Resourcepart nickname, String password) throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
          retrieveBookmarks();
          BookmarkedConference bookmark
                  = new BookmarkedConference(name, jid, isAutoJoin, nickname, password);
          List<BookmarkedConference> conferences = bookmarks.getBookmarkedConferences();
          if (conferences.contains(bookmark)) {
              BookmarkedConference oldConference = conferences.get(conferences.indexOf(bookmark));
              if (oldConference.isShared()) {
                  throw new IllegalArgumentException("Cannot modify shared bookmark");
              }
              oldConference.setAutoJoin(isAutoJoin);
              oldConference.setName(name);
              oldConference.setNickname(nickname);
              oldConference.setPassword(password);
          }
          else {
              bookmarks.addBookmarkedConference(bookmark);
          }
          privateDataManager.setPrivateData(bookmarks);
      }