aboutsummaryrefslogtreecommitdiffstats
path: root/src/features
diff options
context:
space:
mode:
Diffstat (limited to 'src/features')
-rw-r--r--src/features/messages.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/features/messages.js b/src/features/messages.js
index a89854a..4202a75 100644
--- a/src/features/messages.js
+++ b/src/features/messages.js
@@ -2314,6 +2314,9 @@ export function messagesFeature(ctx) {
// Anyone (ark's history, other features) can open a profile or render a
// small clickable identity chip.
showProfile(pk) { openProfile(pk); return true; },
+ // The light profile cache, read-only — lets the onboarding wizard skip
+ // asks (like the avatar picker) that a loaded identity already answered.
+ cachedProfile(pk) { return profileOf(pk); },
// Publish (merge) kind-0 fields for the current identity — the onboarding
// wizard sets name + picture through this.
publishProfile(fields, opts = {}) { return publishProfileFields(fields, opts); },