Browse Source

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
web-serve-fix
Matthew Raymer 2 weeks ago
parent
commit
38d4b428e1
  1. 13
      src/views/HomeView.vue

13
src/views/HomeView.vue

@ -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,

Loading…
Cancel
Save