2024-11-21 16:10:58 +01:00
|
|
|
import QtQml 2.15
|
2024-06-03 11:56:25 +03:00
|
|
|
|
2024-11-21 16:10:58 +01:00
|
|
|
QtObject {
|
2024-06-03 11:56:25 +03:00
|
|
|
required property string publicKey
|
2024-11-21 16:10:58 +01:00
|
|
|
property string displayName
|
|
|
|
property string ensName
|
|
|
|
property bool ensVerified
|
|
|
|
property string localNickname
|
|
|
|
property string alias
|
|
|
|
property string icon
|
|
|
|
property int colorId
|
|
|
|
property var colorHash
|
|
|
|
property int onlineStatus
|
|
|
|
property bool isContact
|
|
|
|
property bool isCurrentUser
|
|
|
|
property bool isVerified
|
|
|
|
property bool isUntrustworthy
|
|
|
|
property bool isBlocked
|
|
|
|
property int contactRequestState
|
|
|
|
property string preferredDisplayName
|
|
|
|
property int lastUpdated
|
|
|
|
property int lastUpdatedLocally
|
|
|
|
property string thumbnailImage
|
|
|
|
property string largeImage
|
|
|
|
property bool isContactRequestReceived
|
|
|
|
property bool isContactRequestSent
|
|
|
|
property bool removed
|
|
|
|
property int trustStatus
|
|
|
|
property string bio
|
2024-06-03 11:56:25 +03:00
|
|
|
|
|
|
|
// Backwards compatibility properties - Don't use in new code
|
|
|
|
// TODO: #14965 - Try to remove these properties
|
2024-11-21 16:10:58 +01:00
|
|
|
property string name//: ensName
|
2024-06-03 11:56:25 +03:00
|
|
|
}
|