Merge pull request #5833 from vector-im/ismail/5829_reply_to_thread_root

Fix replies to thread root events
This commit is contained in:
ismailgulek 2022-03-16 18:14:07 +03:00 committed by GitHub
commit 3171b2533d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -1889,7 +1889,7 @@ typedef NS_ENUM (NSUInteger, MXKRoomDataSourceError) {
id<MXSendReplyEventStringLocalizerProtocol> 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)
{

1
changelog.d/5829.change Normal file
View file

@ -0,0 +1 @@
MXKRoomDataSource: Pass threadId of room data source for replies.