fix: prevent app from crash due to missing type variants
Alright this was very painful to figure out. Because desktop didn't know about the notification type for `ContactVerification`, the signal processing for incoming contact verifications would fail. At the same time, the new message content type was missing a type variant for content verification as well, which would cause the app to crash at runtime for both, sender and receiver of verification requests. Fixes #8205
This commit is contained in:
parent
eaf5095490
commit
d9c04bb32d
|
@ -15,6 +15,7 @@ type
|
||||||
Gap = 10
|
Gap = 10
|
||||||
Edit = 11
|
Edit = 11
|
||||||
DiscordMessage = 12
|
DiscordMessage = 12
|
||||||
|
ContactIdentityVerification = 13
|
||||||
|
|
||||||
type
|
type
|
||||||
StatusType* {.pure.} = enum
|
StatusType* {.pure.} = enum
|
||||||
|
|
|
@ -17,6 +17,7 @@ type ActivityCenterNotificationType* {.pure.}= enum
|
||||||
CommunityRequest = 7
|
CommunityRequest = 7
|
||||||
CommunityMembershipRequest = 8
|
CommunityMembershipRequest = 8
|
||||||
CommunityKicked = 9
|
CommunityKicked = 9
|
||||||
|
ContactVerification = 10
|
||||||
|
|
||||||
type ActivityCenterMembershipStatus* {.pure.}= enum
|
type ActivityCenterMembershipStatus* {.pure.}= enum
|
||||||
Idle = 0,
|
Idle = 0,
|
||||||
|
|
Loading…
Reference in New Issue