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
+2
View File
@@ -245,6 +245,7 @@
session.crypto.warnOnUnknowDevices = NO;
[room sendTextMessage:intent.content
threadId:nil
success:^(NSString *eventId) {
completeWithCode(INSendMessageIntentResponseCodeSuccess);
} failure:^(NSError *error) {
@@ -259,6 +260,7 @@
}
[account.mxRestClient sendTextMessageToRoom:roomID
threadId:nil
text:intent.content
success:^(NSString *eventId) {
completeWithCode(INSendMessageIntentResponseCodeSuccess);