Skip to content

Commit

Permalink
Fix typos following previously merged PR returns
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanceriu committed Sep 29, 2023
1 parent 0ba502f commit 2b1e26c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MatrixSDK/Data/MXRoom.m
Original file line number Diff line number Diff line change
Expand Up @@ -1670,15 +1670,15 @@ - (MXHTTPOperation*)_sendFile:(NSURL*)fileLocalURL
kMXMessageBodyKey: filename,
@"url": fakeMediaURI,
@"info": @{
@"mimetype": (mimetype ?: @"application/octet-stream"),
@"mimetype": (mimeType ?: @"application/octet-stream"),
@"size": @(fileData.length)
},
kMXMessageContentKeyExtensibleTextMSC1767: filename,
kMXMessageContentKeyExtensibleFileMSC1767: @{
kMXMessageContentKeyExtensibleFileSize: @(fileData.length),
kMXMessageContentKeyExtensibleFileName: filename,
kMXMessageContentKeyExtensibleFileURL: fakeMediaURI,
kMXMessageContentKeyExtensibleFileMimeType: (mimetype ?: @"application/octet-stream")
kMXMessageContentKeyExtensibleFileMimeType: (mimeType ?: @"application/octet-stream")
}.mutableCopy}.mutableCopy;

if(additionalTypes.count)
Expand Down

0 comments on commit 2b1e26c

Please sign in to comment.