Adapt to send event api changes

This commit is contained in:
ismailgulek
2021-11-04 02:07:09 +03:00
parent f3923d89b1
commit 4e3667abe0
4 changed files with 9 additions and 7 deletions

View File

@@ -57,7 +57,7 @@ class TemplateRoomChatService: TemplateRoomChatServiceProtocol {
// MARK: Public
func send(textMessage: String) {
var localEcho: MXEvent? = nil
room.sendTextMessage(textMessage, localEcho: &localEcho, completion: { _ in })
room.sendTextMessage(textMessage, threadId: nil, localEcho: &localEcho, completion: { _ in })
}
// MARK: Private