Bump the RustSDK to v1.0.41 (#654)

* Handle breaking changes.
* Fix a couple of warnings
* Bump the SDK to v1.0.41
This commit is contained in:
Stefan Ceriu
2023-02-28 18:03:19 +02:00
committed by GitHub
parent c2dc873c74
commit 802279d8af
8 changed files with 38 additions and 48 deletions
@@ -94,9 +94,11 @@ extension NotificationItemProxy {
senderId: senderId,
roomId: roomId,
mediaProvider: mediaProvider)
case .audio:
#warning("Audio timeline items not currently supported")
return nil
case .audio(content: let content):
return try await processAudio(content: content,
senderId: senderId,
roomId: roomId,
mediaProvider: mediaProvider)
case .video(content: let content):
return try await processVideo(content: content,
senderId: senderId,
@@ -117,11 +119,6 @@ extension NotificationItemProxy {
senderId: senderId,
roomId: roomId,
mediaProvider: mediaProvider)
case .audio(content: let content):
return try await processAudio(content: content,
senderId: senderId,
roomId: roomId,
mediaProvider: mediaProvider)
case .none:
return nil
}