mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
5858: Modification of the event send according to coordinate type
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user