Skip to content

Commit 1233640

Browse files
Updated comments
1 parent 38e7932 commit 1233640

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/communication-services/tutorials/chat-interop/includes/meeting-interop-features-file-attachment-javascript.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ async function renderReceivedMessage(event) {
236236
messages += `<div class="container lighter"> ${event.message} </div>`;
237237
messagesContainer.innerHTML = messages;
238238
console.log(event);
239-
// filter out inline images from attachments
239+
// Filter out inline images from attachments
240240
const imageAttachments = event.attachments?.filter(
241241
(attachment) =>
242242
attachment.attachmentType === "image" && !messages.includes(attachment.id)
@@ -248,15 +248,15 @@ async function renderReceivedMessage(event) {
248248
.join("") ?? "";
249249
messagesContainer.innerHTML += imageAttachmentHtml;
250250

251-
// get list of attachments and calls renderFileAttachments to construct a file attachment card
251+
// Get list of attachments and calls renderFileAttachments to construct a file attachment card
252252
var attachmentHtml =
253253
event.attachments
254254
?.filter((attachment) => attachment.attachmentType === "file")
255255
.map((attachment) => renderFileAttachments(attachment))
256256
.join("") ?? "";
257257
messagesContainer.innerHTML += attachmentHtml;
258258

259-
// fetch and render preview images
259+
// Fetch and render preview images
260260
fetchPreviewImages(imageAttachments);
261261
}
262262

0 commit comments

Comments
 (0)