Bump the RustSDK to v1.1.26, adopt the new room hasActiveRoomCall state property

This commit is contained in:
Stefan Ceriu 2023-10-24 13:01:19 +03:00
parent 8ff1c753a6
commit c885585b6b
5 changed files with 7 additions and 6 deletions

View File

@ -6516,7 +6516,7 @@
repositoryURL = "https://github.com/matrix-org/matrix-rust-components-swift";
requirement = {
kind = exactVersion;
version = 1.1.25;
version = 1.1.26;
};
};
821C67C9A7F8CC3FD41B28B4 /* XCRemoteSwiftPackageReference "emojibase-bindings" */ = {

View File

@ -129,8 +129,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/matrix-org/matrix-rust-components-swift",
"state" : {
"revision" : "45e7564545193e0a820c6fea1e9519af00373bde",
"version" : "1.1.25"
"revision" : "e7bacee684806d125077b032e3848189ad370f3b",
"version" : "1.1.26"
}
},
{
@ -262,7 +262,7 @@
{
"identity" : "swiftui-introspect",
"kind" : "remoteSourceControl",
"location" : "https://github.com/siteline/SwiftUI-Introspect",
"location" : "https://github.com/siteline/SwiftUI-Introspect.git",
"state" : {
"revision" : "b94da693e57eaf79d16464b8b7c90d09cba4e290",
"version" : "0.9.2"

View File

@ -255,6 +255,7 @@ class RoomScreenViewModel: RoomScreenViewModelType, RoomScreenViewModelProtocol
guard let self else { return }
self.state.roomTitle = roomProxy.roomTitle
self.state.roomAvatarURL = roomProxy.avatarURL
self.state.isCallOngoing = roomProxy.isCallOngoing
}
.store(in: &cancellables)

View File

@ -152,7 +152,7 @@ class RoomProxy: RoomProxyProtocol {
}
var isCallOngoing: Bool {
false
room.hasActiveRoomCall()
}
var canonicalAlias: String? {

View File

@ -45,7 +45,7 @@ packages:
# Element/Matrix dependencies
MatrixRustSDK:
url: https://github.com/matrix-org/matrix-rust-components-swift
exactVersion: 1.1.25
exactVersion: 1.1.26
# path: ../matrix-rust-sdk
Compound:
url: https://github.com/vector-im/compound-ios