matrix-org / conference-bot

The conductor for your orchestra^Wconference
Apache License 2.0
44 stars 8 forks source link

Invite devroom managers, even without scheduled talks #235

Open reivilibre opened 4 days ago

reivilibre commented 4 days ago

Currently in the conference-bot, people only exist within talks.

But if you want to invite the devroom managers to the devrooms (which have been confirmed) but no talks have been confirmed yet, you currently can't.

This PR makes it so that auditoriums can carry a record of extraPeople to fill this gap.

We also pull in the extraPeople from a special amendment to the datasource that FOSDEM-team have made for us:

  "tracks": [
    {
      "id": 42,
      "slug": "example",
      "name": "Example devroom",
      "email": "example@example.org",
      "type": "devroom",
      "managers": [
        {
          "person_id": 1,
          "event_role": "coordinator",
          "name": "person",
          "email": "person@fosdem.org",
          "matrix_id": "@person:fosdem.org"
        }
      ]
    },
    ...
  ]

N.B. This is untested as I don't have access to the datasource yet.