Skip to content

Commit

Permalink
Add Warning in Documentation for display_name
Browse files Browse the repository at this point in the history
Co-authored-by: Bryan Montz <[email protected]>
  • Loading branch information
joelklabo and bryanmontz authored Aug 21, 2023
1 parent 57e40e3 commit acff48d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/NostrSDK/Events/SetMetadataEvent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public struct UserMetadata: Codable {
public let name: String?

/// The user's display name.
/// > Warning: This property is not part of the Nostr specifications.
public let displayName: String?

/// The user's description of themself.
Expand Down

0 comments on commit acff48d

Please sign in to comment.