Skip to content

Commit

Permalink
Merge pull request #26194 from dukenv0307/fix/25589
Browse files Browse the repository at this point in the history
Fix/25589: Return lastMessageText and lastMessageText when last message is an attachment
  • Loading branch information
flodnv authored Aug 30, 2023
2 parents 63a468e + ee35b4a commit e6f439d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libs/ReportActionsUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,8 @@ function getLastVisibleMessage(reportID, actionsToMerge = {}) {
if (isReportMessageAttachment(message)) {
return {
lastMessageTranslationKey: CONST.TRANSLATION_KEYS.ATTACHMENT,
lastMessageText: CONST.TRANSLATION_KEYS.ATTACHMENT,
lastMessageHtml: CONST.TRANSLATION_KEYS.ATTACHMENT,
};
}

Expand Down

0 comments on commit e6f439d

Please sign in to comment.