Fix various new SDK breaking changes.

This commit is contained in:
Stefan Ceriu
2025-07-22 18:09:27 +03:00
committed by Stefan Ceriu
parent ffe2f726e7
commit bd49500fa1
9 changed files with 26 additions and 26 deletions
@@ -58,7 +58,7 @@ class DeclineAndBlockScreenViewModel: DeclineAndBlockScreenViewModelType, Declin
case .success:
var shouldShowFailure = false
if state.bindings.shouldReport {
shouldShowFailure = await clientProxy.reportRoomForIdentifier(roomID, reason: state.bindings.reportReason.isEmpty ? nil : state.bindings.reportReason).isFailure
shouldShowFailure = await clientProxy.reportRoomForIdentifier(roomID, reason: state.bindings.reportReason.isEmpty ? "" : state.bindings.reportReason).isFailure
}
if state.bindings.shouldBlockUser {