mirror of https://github.com/status-im/StatusQ.git
refactor: make chat component enum variants match protocol values
Closes #183
This commit is contained in:
parent
a6262f0a34
commit
8ef2d0ee47
|
@ -25,10 +25,13 @@ Rectangle {
|
|||
signal unmute()
|
||||
|
||||
enum Type {
|
||||
PublicChat,
|
||||
GroupChat,
|
||||
CommunityChat,
|
||||
OneToOneChat
|
||||
Unknown0, // 0
|
||||
OneToOneChat, // 1
|
||||
PublicChat, // 2
|
||||
GroupChat, // 3
|
||||
Unknown1, // 4
|
||||
Unknown2, // 5
|
||||
CommunityChat // 6
|
||||
}
|
||||
|
||||
implicitWidth: 288
|
||||
|
|
|
@ -28,10 +28,13 @@ Rectangle {
|
|||
signal unmute()
|
||||
|
||||
enum Type {
|
||||
PublicChat,
|
||||
GroupChat,
|
||||
CommunityChat,
|
||||
OneToOneChat
|
||||
Unknown0, // 0
|
||||
OneToOneChat, // 1
|
||||
PublicChat, // 2
|
||||
GroupChat, // 3
|
||||
Unknown1, // 4
|
||||
Unknown2, // 5
|
||||
CommunityChat // 6
|
||||
}
|
||||
|
||||
radius: 8
|
||||
|
|
Loading…
Reference in New Issue