Marmot-TS
    Preparing search index...

    Function readWelcomeMarmotGroupData

    • Reads the MarmotGroupData from a Welcome message using the provided key package, without performing a full group join.

      Convenience wrapper around readWelcomeGroupInfo that extracts and decodes the Marmot Group Data extension from groupInfo.groupContext.extensions.

      Parameters

      • __namedParameters: {
            ciphersuiteImpl: CiphersuiteImpl;
            keyPackage: {
                privatePackage: PrivateKeyPackage;
                publicPackage: KeyPackage;
            };
            welcome: Rumor
            | Welcome;
        }
        • ciphersuiteImpl: CiphersuiteImpl

          The ciphersuite implementation

        • keyPackage: { privatePackage: PrivateKeyPackage; publicPackage: KeyPackage }

          The full key package (public + private) used to receive the invite

        • welcome: Rumor | Welcome

          The MLS Welcome message (or a kind 444 Rumor)

      Returns Promise<MarmotGroupData | null>

      The decoded MarmotGroupData, or null if the extension is not present