vector-im/element-ios/issues/5298 - Added body message content keys and replaced plain string usages.

This commit is contained in:
Stefan Ceriu
2021-12-13 12:08:52 +02:00
committed by Stefan Ceriu
parent 5e3542a3dc
commit b9e718c6a8
10 changed files with 16 additions and 16 deletions
@@ -119,7 +119,7 @@ NSString *const kMXKAttachmentFileNameBase = @"attatchment";
}
}
MXJSONModelSetString(_originalFileName, eventContent[@"body"]);
MXJSONModelSetString(_originalFileName, eventContent[kMXMessageBodyKey]);
MXJSONModelSetDictionary(_contentInfo, eventContent[@"info"]);
MXJSONModelSetMXJSONModel(contentFile, MXEncryptedContentFile, eventContent[@"file"]);