Fix breaking changes following SDK update.

This commit is contained in:
Stefan Ceriu
2025-06-10 11:38:53 +03:00
committed by Stefan Ceriu
parent dc5564f103
commit de608b486e
4 changed files with 36 additions and 5 deletions
@@ -723,7 +723,7 @@ class JoinedRoomProxy: JoinedRoomProxyProtocol {
func sendCallNotificationIfNeeded() async -> Result<Void, RoomProxyError> {
do {
try await room.sendCallNotificationIfNeeded()
_ = try await room.sendCallNotificationIfNeeded()
return .success(())
} catch {
MXLog.error("Failed room call notification with error: \(error)")
@@ -64,6 +64,8 @@ struct RoomMessageEventStringBuilder {
} else {
message = AttributedString(content.body)
}
case .gallery(let content):
message = AttributedString(content.body)
case .other(_, let body):
message = AttributedString(body)
}