Skip to content

Commit

Permalink
adding a comment for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
OvidijusParsiunas committed Sep 12, 2024
1 parent f2d0e10 commit 007a6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component/src/views/chat/messages/messagesBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class MessagesBase {
const lastMessageElements = this.messageElementRefs[this.messageElementRefs.length - 1];
LoadingHistory.changeFullViewToSmall(this, lastMessageElements);
if (MessagesBase.isTemporaryElement(lastMessageElements)) {
this.revealRoleElementsIfTempRemoved(lastMessageElements, role);
this.revealRoleElementsIfTempRemoved(lastMessageElements, role); // readding role elements to previous message
lastMessageElements.outerContainer.remove();
this.messageElementRefs.pop();
}
Expand Down

0 comments on commit 007a6c7

Please sign in to comment.