Hide NSFW in Photos (#3875)

This commit is contained in:
MeiMei
2019-01-11 08:10:39 +09:00
committed by syuilo
parent 203fba0216
commit dd77a6194e
4 changed files with 18 additions and 0 deletions

View File

@ -34,6 +34,7 @@ export default Vue.extend({
this.$root.api('users/notes', {
userId: this.user.id,
fileType: image,
excludeNsfw: !this.$store.state.device.alwaysShowNsfw,
limit: 9,
untilDate: new Date().getTime() + 1000 * 86400 * 365
}).then(notes => {