Adapt to send event api changes

This commit is contained in:
ismailgulek
2021-11-04 02:07:09 +03:00
parent 5d6f8488c9
commit b49620b7d4
4 changed files with 9 additions and 7 deletions
@@ -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