Body, Mind & Soul — API Reference
    Preparing search index...

    Function getRepresentingState

    • Return the raw representing-state map for a user, normalizing legacy array-shaped data (pre-impersonation flag format) to the new map shape. Legacy entries normalize to "controlled" (NOT "impersonated") so no one is silently opted into combat notifications after the upgrade.

      Parameters

      • user: User

      Returns Record<string, "controlled" | "impersonated">