Revert "fix: Secret storage keys are used as account data but are not uri encoded"
This reverts commit 2f944292ba
This commit is contained in:
parent
a525bb120a
commit
4675783311
|
|
@ -81,9 +81,7 @@ abstract class EventTypes {
|
||||||
static const String MegolmBackup = 'm.megolm_backup.v1';
|
static const String MegolmBackup = 'm.megolm_backup.v1';
|
||||||
static const String SecretStorageDefaultKey = 'm.secret_storage.default_key';
|
static const String SecretStorageDefaultKey = 'm.secret_storage.default_key';
|
||||||
|
|
||||||
// Also used as account data type so it needs to be uri encoded
|
static String secretStorageKey(String keyId) => 'm.secret_storage.key.$keyId';
|
||||||
static String secretStorageKey(String keyId) =>
|
|
||||||
Uri.encodeComponent('m.secret_storage.key.$keyId');
|
|
||||||
|
|
||||||
// Spaces
|
// Spaces
|
||||||
static const String spaceParent = 'm.space.parent';
|
static const String spaceParent = 'm.space.parent';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue