message: Store mode earlier
diff: @@ -873,6 +873,9 @@ IrcHandler.prototype._onPrivateMode = Promise.coroutine(function*(req, server, c
  return this.ircBridge.publicitySyncer.updateVisibilityMap(
  true, key, enabled
  );
  + } else {
  + // "k" and "i"
  + this.ircBridge.getStore().setModeForRoom(room.getId(), mode, enabled);
  }
  var promises = matrixRooms.map((room) => {
  @@ -897,11 +900,7 @@ IrcHandler.prototype._onPrivateMode = Promise.coroutine(function*(req, server, c
  }
  });
  - yield Promise.all(promises).then(() => {
  - matrixRooms.forEach((room) => {
  - this.ircBridge.getStore().setModeForRoom(room.getId(), mode, enabled);
  - });
  - });
  + yield Promise.all(promises);
  });
  /**
  