Rendering location messages in the timeline.

This commit is contained in:
Stefan Ceriu
2021-12-10 17:49:08 +02:00
committed by Stefan Ceriu
parent a40af4fa80
commit 7f9e294d82
29 changed files with 493 additions and 41 deletions
@@ -109,12 +109,6 @@ NSString *const kMXKAttachmentFileNameBase = @"attatchment";
_type = MXKAttachmentTypeVideo;
MXJSONModelSetDictionary(_thumbnailInfo, eventContent[@"info"][@"thumbnail_info"]);
}
else if ([msgtype isEqualToString:kMXMessageTypeLocation])
{
// Not supported yet
// _type = MXKAttachmentTypeLocation;
return nil;
}
else if ([msgtype isEqualToString:kMXMessageTypeFile])
{
_type = MXKAttachmentTypeFile;