Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: ensure notification settings are cached from RPC #10532

Merged
merged 1 commit into from
May 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/app_service/service/settings/dto/settings.nim
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,17 @@ type
gifRecents*: JsonNode
gifFavorites*: JsonNode
testNetworksEnabled*: bool
notificationsAllowNotifications*: bool
notificationsOneToOneChats*: string
notificationsGroupChats*: string
notificationsPersonalMentions*: string
notificationsGlobalMentions*: string
notificationsAllMessages*: string
notificationsContactRequests*: string
notificationsIdentityVerificationRequests*: string
notificationsSoundsEnabled*: bool
notificationsVolume*: int
notificationsMessagePreview*: int

proc toPinnedMailserver*(jsonObj: JsonNode): PinnedMailserver =
# we maintain pinned mailserver per fleet
Expand Down
Loading