mirror of
https://github.com/vector-im/element-call.git
synced 2026-02-02 04:05:56 +00:00
We only ever used the static instance() method to get to the config object, so just make a static instance that returns the ConfigOptions directly, throwing an exception if it's not yet initialised. This way the types can all be non-optional (plus it's shorter).