mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Add missing field handling in account record processor
This commit is contained in:
parent
08ba774b71
commit
0bb2a64781
1 changed files with 3 additions and 0 deletions
|
@ -102,6 +102,8 @@ public class AccountRecordProcessor extends DefaultStorageRecordProcessor<Signal
|
|||
final var storiesDisabled = remote.isStoriesDisabled();
|
||||
final var hasSeenGroupStoryEducation = remote.hasSeenGroupStoryEducationSheet()
|
||||
|| local.hasSeenGroupStoryEducationSheet();
|
||||
boolean hasSeenUsernameOnboarding = remote.hasCompletedUsernameOnboarding()
|
||||
|| local.hasCompletedUsernameOnboarding();
|
||||
final var username = remote.getUsername();
|
||||
final var usernameLink = remote.getUsernameLink();
|
||||
|
||||
|
@ -131,6 +133,7 @@ public class AccountRecordProcessor extends DefaultStorageRecordProcessor<Signal
|
|||
.setHasViewedOnboardingStory(hasViewedOnboardingStory)
|
||||
.setStoriesDisabled(storiesDisabled)
|
||||
.setHasSeenGroupStoryEducationSheet(hasSeenGroupStoryEducation)
|
||||
.setHasCompletedUsernameOnboarding(hasSeenUsernameOnboarding)
|
||||
.setStoryViewReceiptsState(storyViewReceiptsState)
|
||||
.setUsername(username)
|
||||
.setUsernameLink(usernameLink)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue