message: Only get intent once
diff: @@ -506,6 +506,9 @@ IrcHandler.prototype.onJoin = Promise.coroutine(function*(req, server, joiningUs
  // get virtual matrix user
  let matrixUser = yield this.ircBridge.getMatrixUser(joiningUser);
  let matrixRooms = yield this.ircBridge.getStore().getMatrixRoomsForChannel(server, chan);
  + const intent = this.ircBridge.getAppServiceBridge().getIntent(
  + matrixUser.getId()
  + );
  let promises = matrixRooms.map((room) => {
  req.log.info("Joining room %s and setting presence to online", room.getId());
  const joinRetry = (attempts) => {
  