mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-26 13:56:22 +02:00
Marks username as deprecated
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user