Skip to content

Commit

Permalink
Merge pull request #22836 from Pujan92/fix/22750
Browse files Browse the repository at this point in the history
Fix: Attachments not shown for sender, stuck at 'Uploading attachment...'
  • Loading branch information
Julesssss authored Jul 17, 2023
2 parents d71a2be + c7e811a commit 67bac9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/Report.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ function addActions(reportID, text = '', file) {
const lastVisibleMessage = ReportActionsUtils.getLastVisibleMessage(reportID);
let prevVisibleMessageText;
if (lastVisibleMessage.lastMessageTranslationKey) {
prevVisibleMessageText = Localize.translateLocal(prevVisibleMessageText);
prevVisibleMessageText = Localize.translateLocal(lastVisibleMessage.lastMessageTranslationKey);
} else {
prevVisibleMessageText = lastVisibleMessage.lastMessageText;
}
Expand Down

0 comments on commit 67bac9d

Please sign in to comment.