mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user