Skip to content
Snippets Groups Projects
  1. Nov 23, 2020
  2. Nov 22, 2020
  3. Nov 19, 2020
  4. Nov 18, 2020
  5. Nov 17, 2020
  6. Nov 16, 2020
  7. Nov 15, 2020
  8. Nov 14, 2020
  9. Nov 13, 2020
    • Andrew Morgan's avatar
      Generalise _maybe_store_room_on_invite (#8754) · e8d08537
      Andrew Morgan authored
      There's a handy function called maybe_store_room_on_invite which allows us to create an entry in the rooms table for a room and its version for which we aren't joined to yet, but we can reference when ingesting events about.
      
      This is currently used for invites where we receive some stripped state about the room and pass it down via /sync to the client, without us being in the room yet.
      
      There is a similar requirement for knocking, where we will eventually do the same thing, and need an entry in the rooms table as well. Thus, reusing this function works, however its name needs to be generalised a bit.
      
      Separated out from #6739.
      Unverified
      e8d08537
Loading