Update the SDK and handle API breaks. (#5871)

* Update the SDK and handle API breaks.

* Rename sdkUserThing to rustUserThing for consistency.

* Add user status ClientProxy methods.

* Rename UserStatus.UserSet to UserStatus.Raw.
This commit is contained in:
Doug
2026-07-14 16:35:37 +01:00
committed by GitHub
parent f776ea7133
commit 85f28d017d
17 changed files with 278 additions and 54 deletions
@@ -74,7 +74,11 @@ struct RoomEventStringBuilderTests {
return .init(item: .init(configuration: .init(eventID: "1234",
sender: senderID,
senderProfile: .ready(displayName: senderDisplayName, displayNameAmbiguous: senderDisplayNameAmbiguous, avatarUrl: nil),
senderProfile: .ready(displayName: senderDisplayName,
displayNameAmbiguous: senderDisplayNameAmbiguous,
avatarUrl: nil,
status: nil,
call: nil),
isOwn: senderID == ownUserID,
content: .msgLike(content: .init(kind: .message(content: .init(msgType: content,
body: message,
@@ -101,7 +105,11 @@ struct RoomEventStringBuilderTests {
question: String = "Which is better?") -> EventTimelineItemProxy {
.init(item: .init(configuration: .init(eventID: "1234",
sender: senderID,
senderProfile: .ready(displayName: senderDisplayName, displayNameAmbiguous: senderDisplayNameAmbiguous, avatarUrl: nil),
senderProfile: .ready(displayName: senderDisplayName,
displayNameAmbiguous: senderDisplayNameAmbiguous,
avatarUrl: nil,
status: nil,
call: nil),
isOwn: senderID == ownUserID,
content: .msgLike(content: .init(kind: .poll(question: question,
kind: .disclosed,