Fix reading of cached room device setting values (#8491)
* Fix reading of cached room device setting values * Add tests
This commit is contained in:
parent
3c36a7f704
commit
5cdc8fb3fd
2 changed files with 36 additions and 1 deletions
|
@ -69,7 +69,7 @@ export default class RoomDeviceSettingsHandler extends AbstractLocalStorageSetti
|
|||
}
|
||||
|
||||
private read(key: string): any {
|
||||
return this.getItem(key);
|
||||
return this.getObject(key);
|
||||
}
|
||||
|
||||
private getKey(settingName: string, roomId: string): string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue