mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
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:
@@ -71,7 +71,7 @@ class LoggingTests: XCTestCase {
|
||||
let roomName = "Private Conversation"
|
||||
let lastMessage = "Secret information"
|
||||
let heroName = "Pseudonym"
|
||||
let roomSummary = RoomSummary(room: .init(noPointer: .init()),
|
||||
let roomSummary = RoomSummary(room: .init(noHandle: .init()),
|
||||
id: "myroomid",
|
||||
joinRequestType: nil,
|
||||
name: roomName,
|
||||
@@ -224,19 +224,19 @@ class LoggingTests: XCTestCase {
|
||||
let rustImageMessage = ImageMessageContent(filename: "ImageString",
|
||||
caption: "ImageString",
|
||||
formattedCaption: nil,
|
||||
source: MediaSource(noPointer: .init()),
|
||||
source: MediaSource(noHandle: .init()),
|
||||
info: nil)
|
||||
|
||||
let rustVideoMessage = VideoMessageContent(filename: "VideoString",
|
||||
caption: "VideoString",
|
||||
formattedCaption: nil,
|
||||
source: MediaSource(noPointer: .init()),
|
||||
source: MediaSource(noHandle: .init()),
|
||||
info: nil)
|
||||
|
||||
let rustFileMessage = FileMessageContent(filename: "FileString",
|
||||
caption: "FileString",
|
||||
formattedCaption: nil,
|
||||
source: MediaSource(noPointer: .init()),
|
||||
source: MediaSource(noHandle: .init()),
|
||||
info: nil)
|
||||
|
||||
// When logging that value
|
||||
|
||||
Reference in New Issue
Block a user