mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-27 19:56:57 +02:00
Adapt to send event api changes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user