From 1995c160138b311f45da9f5f9bd0e43f43c8cd3f Mon Sep 17 00:00:00 2001 From: Will Hunt Date: Mon, 27 Feb 2017 22:17:43 +0000 Subject: [PATCH] Add a user option to enable autoplaying gifs and videos. --- src/components/structures/UserSettings.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/structures/UserSettings.js b/src/components/structures/UserSettings.js index faa8a56894..10ffbca0d3 100644 --- a/src/components/structures/UserSettings.js +++ b/src/components/structures/UserSettings.js @@ -39,6 +39,10 @@ const REACT_SDK_VERSION = // 'id' gives the key name in the im.vector.web.settings account data event // 'label' is how we describe it in the UI. const SETTINGS_LABELS = [ + { + id: 'autoplayGifsAndVideos', + label: 'Autoplay GIFs and videos', + }, /* { id: 'alwaysShowTimestamps',