mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-29 07:18:08 +09:00
commit
c2cceb16c1
@ -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",
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user