Skip to content

Commit

Permalink
Marks username as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorpamplona committed Aug 8, 2024
1 parent 2e7b7c5 commit 8ed78ea
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,8 @@ class ContactListEvent(
@Stable
class UserMetadata {
var name: String? = null

@Deprecated("Use name instead", replaceWith = ReplaceWith("name"))
var username: String? = null

@JsonProperty("display_name")
Expand Down

0 comments on commit 8ed78ea

Please sign in to comment.