fix: from || to ??

This commit is contained in:
Seijo Cecilia 2024-08-25 18:20:58 +08:00
parent 2a7f8d0c99
commit d5ff2d7099

View File

@ -253,7 +253,7 @@ export class OneBotMsgApi {
msg.senderUid, msg.senderUid,
elementWrapper.elementId, elementWrapper.elementId,
elementWrapper.elementType.toString(), elementWrapper.elementType.toString(),
element.fileSize || '0', element.fileSize ?? '0',
element.fileName, element.fileName,
); );