Merge pull request #2464 from syuilo/develop

8.9.1
This commit is contained in:
syuilo 2018-08-25 10:28:47 +09:00 committed by GitHub
commit c2cceb16c1
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
"name": "misskey",
"author": "syuilo <i@syuilo.com>",
"version": "8.9.0",
"version": "8.9.1",
"clientVersion": "1.0.8950",
"codename": "nighthike",
"main": "./built/index.js",

View File

@ -116,7 +116,8 @@ async function deleteOldFile(user: IRemoteUser) {
const oldFile = await DriveFile.findOne({
_id: {
$nin: [user.avatarId, user.bannerId]
}
},
'metadata.userId': user._id
}, {
sort: {
_id: 1