mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 08:32:53 +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
9c66b5b7b1
commit
7826faf6ea
@@ -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