mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Bump the RustSDK to v25.04.08, fix breaking changes
This commit is contained in:
committed by
Stefan Ceriu
parent
d92fecdc7e
commit
c9dc7e63c5
@@ -16,7 +16,6 @@ struct OIDCConfigurationProxy {
|
||||
let policyURI: URL
|
||||
let contacts: [String]
|
||||
let staticRegistrations: [String: String]
|
||||
let dynamicRegistrationsFile: URL
|
||||
}
|
||||
|
||||
#if canImport(MatrixRustSDK)
|
||||
@@ -31,8 +30,7 @@ extension OIDCConfigurationProxy {
|
||||
tosUri: tosURI.absoluteString,
|
||||
policyUri: policyURI.absoluteString,
|
||||
contacts: contacts,
|
||||
staticRegistrations: staticRegistrations,
|
||||
dynamicRegistrationsFile: dynamicRegistrationsFile.path(percentEncoded: false))
|
||||
staticRegistrations: staticRegistrations)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -404,7 +404,11 @@ final class TimelineProxy: TimelineProxyProtocol {
|
||||
|
||||
do {
|
||||
if let inReplyToEventID {
|
||||
try await timeline.sendReply(msg: messageContent, eventId: inReplyToEventID)
|
||||
// `enforceThread` will force send the message a thread with `inReplyToEventID` while
|
||||
// `replyWithinThread` will create an in-reply-to associated field *within* that same thread
|
||||
try await timeline.sendReply(msg: messageContent, replyParams: .init(eventId: inReplyToEventID,
|
||||
enforceThread: false,
|
||||
replyWithinThread: false))
|
||||
MXLog.info("Finished sending reply to eventID: \(inReplyToEventID)")
|
||||
} else {
|
||||
_ = try await timeline.send(msg: messageContent)
|
||||
|
||||
Reference in New Issue
Block a user