Field Notes
    Preparing search index...

    Variable LAYER_SYNC_PROTOCOL_VERSIONConst

    LAYER_SYNC_PROTOCOL_VERSION: 1

    Revision of the optional layer-definition sync addition (the layer-upsert and layer-remove op kinds plus the snapshot layers field). Peers that predate it reject the new op kinds in isValidEnvelope and ignore the extra snapshot field, so mixed rooms degrade to today's element-only behavior.