         for attachment in object.message.attachments {
             switch attachment.type {
             case .audio:
-                if object.message.text.isEmpty {
+                if sanitizedMessage.isEmpty {
                     cells.append(AudioMessageChatItem(
                         identifier: attachment.identifier,
                         audioURL: attachment.fullAudioURL,

                    ).wrapped)
                }
            case .textAttachment where attachment.fields.count > 0:
                if object.message.text.isEmpty && shouldAppendMessageHeader {
                    cells.append(TextAttachmentChatItem(
                        attachment: attachment,
                        hasText: false,

                    ).wrapped)
                }
            case .video:
                if sanitizedMessage.isEmpty && shouldAppendMessageHeader {
                    cells.append(VideoMessageChatItem(
                        identifier: attachment.identifier,
                        descriptionText: attachment.descriptionText,
