Fix HomeView registration status detection for imported users

- Change loadSettings() to use $accountSettings() instead of $settings()
- Ensures DID-specific settings like isRegistered are properly loaded
- Fixes issue where imported registered users still showed "Show them identifier" dialog
- Maintains proper settings merging for account-specific overrides
This commit is contained in:
Matthew Raymer
2025-07-11 07:17:47 +00:00
parent 2f3117dfd4
commit 38d4b428e1

View File

@@ -690,8 +690,17 @@ export default class HomeView extends Vue {
* Called by mounted() and reloadFeedOnChange()
*/
private async loadSettings() {
// Ultra-concise settings loading with defaults!
const settings = await this.$settings({
// First get the active DID from master settings
const masterSettings = await this.$settings({
apiServer: "",
activeDid: "",
filterFeedByVisible: false,
filterFeedByNearby: false,
isRegistered: false,
});
// Then get the full merged settings including account-specific overrides
const settings = await this.$accountSettings(masterSettings.activeDid, {
apiServer: "",
activeDid: "",
filterFeedByVisible: false,