Skip to content

Commit

Permalink
Expose init from string for Participant.Identity (#543)
Browse files Browse the repository at this point in the history
Since we have RoomOptions and it contains
[DataPublishOptions](https://docs.livekit.io/client-sdk-swift/documentation/livekit/datapublishoptions)
with
[destinationIdentities](https://docs.livekit.io/client-sdk-swift/documentation/livekit/datapublishoptions/destinationidentities)
with type `Participant.Identity`.
I think it will be more convenient if we change the access level to
public. ❤️
  • Loading branch information
ming-chu authored Jan 13, 2025
1 parent aded1f9 commit 69bc146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/LiveKit/Types/Participant+Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public extension Participant {
@objc
public let stringValue: String

init(from stringValue: String) {
public init(from stringValue: String) {
self.stringValue = stringValue
}

Expand Down

0 comments on commit 69bc146

Please sign in to comment.