Add missing space

Co-authored-by: Dariusz Niemczyk <3636685+Palid@users.noreply.github.com>
This commit is contained in:
Šimon Brandner 2021-09-02 17:39:13 +02:00 committed by GitHub
parent 7fcb8ed488
commit c246b027be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,7 +116,7 @@ export default class AccountSettingsHandler extends MatrixClientBackedSettingsHa
const value = settings[settingName]; const value = settings[settingName];
// Fallback to old combined setting // Fallback to old combined setting
if (value === null || value === undefined) { if (value === null || value === undefined) {
const oldCombinedValue= settings["autoplayGifsAndVideos"]; const oldCombinedValue = settings["autoplayGifsAndVideos"];
// Write, so that we can remove this in the future // Write, so that we can remove this in the future
this.setValue("autoplayGifs", roomId, oldCombinedValue); this.setValue("autoplayGifs", roomId, oldCombinedValue);
this.setValue("autoplayVideo", roomId, oldCombinedValue); this.setValue("autoplayVideo", roomId, oldCombinedValue);