From 2666401a52254de8a3edbf55a5250f22cdd6b8d6 Mon Sep 17 00:00:00 2001 From: ismailgulek Date: Wed, 16 Mar 2022 17:13:18 +0300 Subject: [PATCH] Pass threadId of room data source on replies --- Riot/Modules/MatrixKit/Models/Room/MXKRoomDataSource.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Riot/Modules/MatrixKit/Models/Room/MXKRoomDataSource.m b/Riot/Modules/MatrixKit/Models/Room/MXKRoomDataSource.m index 1a2466a51..e0664c9dd 100644 --- a/Riot/Modules/MatrixKit/Models/Room/MXKRoomDataSource.m +++ b/Riot/Modules/MatrixKit/Models/Room/MXKRoomDataSource.m @@ -1889,7 +1889,7 @@ typedef NS_ENUM (NSUInteger, MXKRoomDataSourceError) { id stringLocalizer = [MXKSendReplyEventStringLocalizer new]; - [_room sendReplyToEvent:eventToReply withTextMessage:sanitizedText formattedTextMessage:html stringLocalizer:stringLocalizer localEcho:&localEchoEvent success:success failure:failure]; + [_room sendReplyToEvent:eventToReply withTextMessage:sanitizedText formattedTextMessage:html stringLocalizer:stringLocalizer threadId:self.threadId localEcho:&localEchoEvent success:success failure:failure]; if (localEchoEvent) {