message: Add _fetchJoinedRooms
diff: @@ -271,6 +271,9 @@ IrcBridge.prototype.run = Promise.coroutine(function*(port) {
  );
  }
  + log.info("Fetching Matrix rooms that are already joined to...");
  + yield this._fetchJoinedRooms();
  +
  // start things going
  log.info("Joining mapped Matrix rooms...");
  yield this._joinMappedMatrixRooms();
  @@ -897,6 +900,19 @@ IrcBridge.prototype.getBotClient = function(server) {
  });
  }
  +IrcBridge.prototype._fetchJoinedRooms = function*() {
  + const bot = this._bridge.getBot();
  + try {
  + const roomids = yield bot.getJoinedRooms();
  + console.log(roomids);
  + }
  + catch (ex) {
  + // We should retry this, because it's still quicker than rejoining everything.
  + console.log(ex);
  + }
  +
  +}
  +
  IrcBridge.DEFAULT_LOCALPART = "appservice-irc";
  module.exports = IrcBridge;
  