Fix a potential bug where the token couldn't be refreshed when the cached server /versions had expired. (#4687)

* Update SDK mocks for UniFFI 0.30.0

* Update the SDK.

* Update the SDK again

Includes a temporary workaround that patches the SDK's generated Swift files so that our tests don't crash:
https://github.com/element-hq/matrix-rust-components-swift/commit/3f0075fb8acaf202755512dfbafc28024e5125b2
This commit is contained in:
Doug
2025-11-03 19:09:31 +00:00
committed by GitHub
parent 371c31ba0d
commit 419c18cabb
16 changed files with 1062 additions and 535 deletions
@@ -15,7 +15,7 @@ import XCTest
class MessageForwardingScreenViewModelTests: XCTestCase {
let forwardingItem = MessageForwardingItem(id: .event(uniqueID: .init("t1"), eventOrTransactionID: .eventID("t1")),
roomID: "1",
content: .init(noPointer: .init()))
content: .init(noHandle: .init()))
var viewModel: MessageForwardingScreenViewModelProtocol!
var context: MessageForwardingScreenViewModelType.Context!
var cancellables = Set<AnyCancellable>()