Update the SDK and handle the API breaks.

This commit is contained in:
Doug
2026-01-05 15:33:51 +00:00
committed by Doug
parent 5bf9632112
commit 3cbeca82bd
9 changed files with 15 additions and 16 deletions
@@ -16,7 +16,7 @@ struct NotificationItemProxyMockConfiguration {
let messageLikeContent = MessageLikeEventContent.roomMessage(messageType: messageType, inReplyToEventId: nil)
let event = TimelineEventSDKMock()
event.eventIdUnderlyingReturnValue = UUID().uuidString
event.eventTypeReturnValue = TimelineEventType.messageLike(content: messageLikeContent)
event.contentReturnValue = .messageLike(content: messageLikeContent)
return .timeline(event: event)
}()
@@ -172,7 +172,7 @@ class ClientProxy: ClientProxyProtocol {
secureBackupController = SecureBackupController(encryption: client.encryption())
spaceService = SpaceServiceProxy(spaceService: client.spaceService())
spaceService = await SpaceServiceProxy(spaceService: client.spaceService())
let configuredAppService = try await ClientProxyServices(client: client,
actionsSubject: actionsSubject,
@@ -26,7 +26,7 @@ class SpaceServiceProxy: SpaceServiceProxyProtocol {
}
private func setupSubscriptions() async {
joinedSpacesHandle = await spaceService.subscribeToJoinedSpaces(listener: SDKListener { [weak self] updates in
joinedSpacesHandle = await spaceService.subscribeToTopLevelJoinedSpaces(listener: SDKListener { [weak self] updates in
self?.handleUpdates(updates)
})
}