element-hq / hydrogen-web

Lightweight matrix client with legacy and mobile browser support
Apache License 2.0
650 stars 127 forks source link

Make it possible to disable OTK upload #1136

Closed MidhunSureshR closed 1 year ago

MidhunSureshR commented 1 year ago

This PR adds an optional argument to startWithAuthData - isReadOnly which when set to true will stop Hydrogen from uploading OTKs. This is useful if you want to mount Hydrogen to only see messages and don't intend to send any encrypted messages.