refactor: make chat component enum variants match protocol values

Closes #183
This commit is contained in:
Pascal Precht 2021-06-23 14:12:33 +02:00 committed by Pascal Precht
parent a6262f0a34
commit 8ef2d0ee47
2 changed files with 14 additions and 8 deletions

View File

@ -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

View File

@ -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