Fix repo Face identity description bounds
This commit is contained in:
parent
2b81f9d058
commit
aff9ddd04d
3 changed files with 34 additions and 4 deletions
|
|
@ -22,6 +22,7 @@ import {
|
|||
} from "./void-self-state-domain";
|
||||
import {
|
||||
createEmptyVoidSelfState,
|
||||
normalizeVoidSelfStateIdentityDefaults,
|
||||
type VoidSelfStateIdentityDefaults,
|
||||
type VoidSelfStateTypedProjection,
|
||||
} from "./void-self-state-projection";
|
||||
|
|
@ -131,6 +132,7 @@ function repairSelfProfileIdentity(
|
|||
state: VoidSelfStateTypedProjection,
|
||||
identity: VoidSelfStateIdentityDefaults,
|
||||
): void {
|
||||
identity = normalizeVoidSelfStateIdentityDefaults(identity);
|
||||
let changed = false;
|
||||
|
||||
if (state.selfProfile.agentId !== identity.agentId) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue