|
|
@ -380,6 +380,7 @@ define([
|
|
|
|
|
|
|
|
|
|
|
|
// Get the metadata for sframe-common-outer
|
|
|
|
// Get the metadata for sframe-common-outer
|
|
|
|
Store.getMetadata = function (data, cb) {
|
|
|
|
Store.getMetadata = function (data, cb) {
|
|
|
|
|
|
|
|
var disableThumbnails = Util.find(store.proxy, ['settings', 'general', 'disableThumbnails']);
|
|
|
|
var metadata = {
|
|
|
|
var metadata = {
|
|
|
|
// "user" is shared with everybody via the userlist
|
|
|
|
// "user" is shared with everybody via the userlist
|
|
|
|
user: {
|
|
|
|
user: {
|
|
|
@ -394,7 +395,7 @@ define([
|
|
|
|
edPublic: store.proxy.edPublic,
|
|
|
|
edPublic: store.proxy.edPublic,
|
|
|
|
friends: store.proxy.friends || {},
|
|
|
|
friends: store.proxy.friends || {},
|
|
|
|
settings: store.proxy.settings,
|
|
|
|
settings: store.proxy.settings,
|
|
|
|
thumbnails: !Util.find(store.proxy, ['settings', 'general', 'disableThumbnails'])
|
|
|
|
thumbnails: disableThumbnails === false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
cb(JSON.parse(JSON.stringify(metadata)));
|
|
|
|
cb(JSON.parse(JSON.stringify(metadata)));
|
|
|
|