mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-02-25 08:41:12 -05:00

This doesn't cover *all* of the registration flows, but it does cover the most common ones: in particular: shared_secret registration, appservice registration, and normal user/pass registration. Pull device_id from the registration parameters. Register the device in the devices table. Associate the device with the returned access and refresh tokens. Profit.