Skip to content

Commit 0494a24

Browse files
Merge pull request Expensify#67932 from mkzie2/mkzie2-issue/66831
fix: shared offline image disappears from the chat after going online
2 parents 295e683 + df8211c commit 0494a24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/prepareRequestPayload/index.native.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const prepareRequestPayload: PrepareRequestPayload = (command, data, initiatedOf
1818
return Promise.resolve();
1919
}
2020

21-
if (key === 'receipt' && initiatedOffline) {
21+
if ((key === 'receipt' || key === 'file') && initiatedOffline) {
2222
const {uri: path = '', source} = value as File;
2323

2424
return readFileAsync(source, path, () => {}).then((file) => {

0 commit comments

Comments
 (0)