mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20: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 storiesDisabled = remote.isStoriesDisabled();
|
||||||
final var hasSeenGroupStoryEducation = remote.hasSeenGroupStoryEducationSheet()
|
final var hasSeenGroupStoryEducation = remote.hasSeenGroupStoryEducationSheet()
|
||||||
|| local.hasSeenGroupStoryEducationSheet();
|
|| local.hasSeenGroupStoryEducationSheet();
|
||||||
|
boolean hasSeenUsernameOnboarding = remote.hasCompletedUsernameOnboarding()
|
||||||
|
|| local.hasCompletedUsernameOnboarding();
|
||||||
final var username = remote.getUsername();
|
final var username = remote.getUsername();
|
||||||
final var usernameLink = remote.getUsernameLink();
|
final var usernameLink = remote.getUsernameLink();
|
||||||
|
|
||||||
|
@ -131,6 +133,7 @@ public class AccountRecordProcessor extends DefaultStorageRecordProcessor<Signal
|
||||||
.setHasViewedOnboardingStory(hasViewedOnboardingStory)
|
.setHasViewedOnboardingStory(hasViewedOnboardingStory)
|
||||||
.setStoriesDisabled(storiesDisabled)
|
.setStoriesDisabled(storiesDisabled)
|
||||||
.setHasSeenGroupStoryEducationSheet(hasSeenGroupStoryEducation)
|
.setHasSeenGroupStoryEducationSheet(hasSeenGroupStoryEducation)
|
||||||
|
.setHasCompletedUsernameOnboarding(hasSeenUsernameOnboarding)
|
||||||
.setStoryViewReceiptsState(storyViewReceiptsState)
|
.setStoryViewReceiptsState(storyViewReceiptsState)
|
||||||
.setUsername(username)
|
.setUsername(username)
|
||||||
.setUsernameLink(usernameLink)
|
.setUsernameLink(usernameLink)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue