returngetExternalFilesForMessage(m).some(a=>!isEmpty(a)&&isString(a));// when we remove an attachment, we set the path to '' so it should be excluded here
returngetExternalFilesForMessage(m, false).some(a=>!isEmpty(a)&&isString(a));// when we remove an attachment, we set the path to '' so it should be excluded here
});
returnmessagesWithAttachments;
}
@ -2079,7 +2079,7 @@ function getMessagesWithFileAttachments(conversationId: string, limit: number) {