mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 09:32:52 +02:00
vector-im/element-ios/issues/5298 - Added body message content keys and replaced plain string usages.
This commit is contained in:
committed by
Stefan Ceriu
parent
3f715ec2c4
commit
fc56a7c267
@@ -37,7 +37,7 @@
|
||||
roomId = event.roomId;
|
||||
|
||||
// Title is here the file name stored in event body
|
||||
title = [event.content[@"body"] isKindOfClass:[NSString class]] ? event.content[@"body"] : nil;
|
||||
title = [event.content[kMXMessageBodyKey] isKindOfClass:[NSString class]] ? event.content[kMXMessageBodyKey] : nil;
|
||||
|
||||
// Check attachment if any
|
||||
if ([searchDataSource.eventFormatter isSupportedAttachment:event])
|
||||
|
||||
Reference in New Issue
Block a user