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()
|
signal unmute()
|
||||||
|
|
||||||
enum Type {
|
enum Type {
|
||||||
PublicChat,
|
Unknown0, // 0
|
||||||
GroupChat,
|
OneToOneChat, // 1
|
||||||
CommunityChat,
|
PublicChat, // 2
|
||||||
OneToOneChat
|
GroupChat, // 3
|
||||||
|
Unknown1, // 4
|
||||||
|
Unknown2, // 5
|
||||||
|
CommunityChat // 6
|
||||||
}
|
}
|
||||||
|
|
||||||
implicitWidth: 288
|
implicitWidth: 288
|
||||||
|
|
|
@ -28,10 +28,13 @@ Rectangle {
|
||||||
signal unmute()
|
signal unmute()
|
||||||
|
|
||||||
enum Type {
|
enum Type {
|
||||||
PublicChat,
|
Unknown0, // 0
|
||||||
GroupChat,
|
OneToOneChat, // 1
|
||||||
CommunityChat,
|
PublicChat, // 2
|
||||||
OneToOneChat
|
GroupChat, // 3
|
||||||
|
Unknown1, // 4
|
||||||
|
Unknown2, // 5
|
||||||
|
CommunityChat // 6
|
||||||
}
|
}
|
||||||
|
|
||||||
radius: 8
|
radius: 8
|
||||||
|
|
Loading…
Reference in New Issue