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()
enum Type {
PublicChat,
GroupChat,
CommunityChat,
OneToOneChat
Unknown0, // 0
OneToOneChat, // 1
PublicChat, // 2
GroupChat, // 3
Unknown1, // 4
Unknown2, // 5
CommunityChat // 6
}
implicitWidth: 288

View File

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