update cover if shared via metadata

This commit is contained in:
j 2016-01-19 21:43:39 +05:30
parent f43fc6a172
commit a5fd6a3d09
1 changed files with 2 additions and 0 deletions

View File

@ -357,6 +357,8 @@ class Item(db.Model):
user = state.user()
if record and user in self.users:
Changelog.record_ts(user, self.modified, 'edititem', self.id, record)
if 'cover' in record:
self.update_icons()
def extract_preview(self):
path = self.get_path()