Add a user option to enable autoplaying gifs and videos.

This commit is contained in:
Will Hunt 2017-02-27 22:17:43 +00:00
parent 4509901592
commit 1995c16013

View file

@ -39,6 +39,10 @@ const REACT_SDK_VERSION =
// 'id' gives the key name in the im.vector.web.settings account data event // 'id' gives the key name in the im.vector.web.settings account data event
// 'label' is how we describe it in the UI. // 'label' is how we describe it in the UI.
const SETTINGS_LABELS = [ const SETTINGS_LABELS = [
{
id: 'autoplayGifsAndVideos',
label: 'Autoplay GIFs and videos',
},
/* /*
{ {
id: 'alwaysShowTimestamps', id: 'alwaysShowTimestamps',