mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-19 17:58:48 +00:00
Fix logging when cleaning up megaphone files
This commit is contained in:
@@ -267,7 +267,9 @@ export const deleteAllMegaphones = async ({
|
||||
}
|
||||
}
|
||||
|
||||
log.error(`deleteAllMegaphones: deleted ${filesDeleted} files`);
|
||||
if (filesDeleted > 0) {
|
||||
log.error(`deleteAllMegaphones: deleted ${filesDeleted} files`);
|
||||
}
|
||||
};
|
||||
|
||||
export const deleteAllDraftAttachments = async ({
|
||||
|
||||
Reference in New Issue
Block a user