fix: enable topic thumbnails across the board [breaking]

v1.18.x
Julian Lam 4 years ago
parent a30c8ab5c8
commit 9342d611be

@ -29,7 +29,7 @@
"maximumTagsPerTopic": 5,
"minimumTagLength": 3,
"maximumTagLength": 15,
"allowTopicsThumbnail": 0,
"allowTopicsThumbnail": 1,
"registrationType": "normal",
"registrationApprovalType": "normal",
"allowAccountDelete": 1,

@ -3,7 +3,7 @@
const meta = require('../../meta');
module.exports = {
name: 'Increase maximum topic thumb size default',
name: 'Config changes for new topic thumbnails',
timestamp: Date.UTC(2020, 11, 8),
method: async () => {
const current = await meta.configs.get('topicThumbSize');
@ -11,5 +11,6 @@ module.exports = {
if (parseInt(current, 10) === 120) {
await meta.configs.set('topicThumbSize', 512);
}
await meta.configs.set('allowTopicsThumbnail', 1);
},
};
Loading…
Cancel
Save