mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
3779: Apply PR comments
This commit is contained in:
@@ -1870,14 +1870,11 @@ typedef NS_ENUM (NSUInteger, MXKRoomDataSourceError) {
|
||||
}
|
||||
}
|
||||
|
||||
- (void)sendReplyToEventWithId:(NSString*)eventIdToReply
|
||||
withTextMessage:(NSString *)text
|
||||
actualRoomDataSource:(MXKRoomDataSource *)actualData
|
||||
success:(void (^)(NSString *))success
|
||||
failure:(void (^)(NSError *))failure
|
||||
- (void)sendReplyToEvent:(MXEvent*)eventToReply
|
||||
withTextMessage:(NSString *)text
|
||||
success:(void (^)(NSString *))success
|
||||
failure:(void (^)(NSError *))failure
|
||||
{
|
||||
MXEvent *eventToReply = [actualData eventWithEventId:eventIdToReply];
|
||||
|
||||
__block MXEvent *localEchoEvent = nil;
|
||||
|
||||
NSString *sanitizedText = [self sanitizedMessageText:text];
|
||||
@@ -4285,14 +4282,11 @@ typedef NS_ENUM (NSUInteger, MXKRoomDataSourceError) {
|
||||
return hasChanged;
|
||||
}
|
||||
|
||||
- (void)replaceTextMessageForEventWithId:(NSString*)eventId
|
||||
withTextMessage:(NSString *)text
|
||||
actualRoomDataSource:(MXKRoomDataSource *)actualData
|
||||
success:(void (^)(NSString *))success
|
||||
failure:(void (^)(NSError *))failure
|
||||
- (void)replaceTextMessageForEvent:(MXEvent*)event
|
||||
withTextMessage:(NSString *)text
|
||||
success:(void (^)(NSString *))success
|
||||
failure:(void (^)(NSError *))failure
|
||||
{
|
||||
MXEvent *event = [actualData eventWithEventId:eventId];
|
||||
|
||||
NSString *sanitizedText = [self sanitizedMessageText:text];
|
||||
NSString *formattedText = [self htmlMessageFromSanitizedText:sanitizedText];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user