5858: Modification of the event send according to coordinate type

This commit is contained in:
MaximeE
2022-03-31 16:52:16 +02:00
parent 3d58e94e6b
commit af9a524273
11 changed files with 71 additions and 29 deletions
@@ -2104,6 +2104,7 @@ typedef NS_ENUM (NSUInteger, MXKRoomDataSourceError) {
- (void)sendLocationWithLatitude:(double)latitude
longitude:(double)longitude
description:(NSString *)description
coordinateType:(MXEventAssetType)coordinateType
success:(void (^)(NSString *))success
failure:(void (^)(NSError *))failure
{
@@ -2115,6 +2116,7 @@ typedef NS_ENUM (NSUInteger, MXKRoomDataSourceError) {
description:description
threadId:self.threadId
localEcho:&localEchoEvent
assetType:coordinateType
success:success failure:failure];
if (localEchoEvent)