I was originally referring to the group implementation from MLS. nostr:npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z is right though, the MLS authors definitely were more concerned with efficient large groups that rotate keys correctly than they were about metadata leaks.
This makes sense when you think that they were really designing for a situation with a centralized "delivery service". They do mention that MLS is built to work in federated environments (e.g. Nostr) but call out that the transport protocol for federation would need to be figured out.
That's precisely what I'm working on now. How do you use MLS with multiple servers (relays) with no guarantees that messages arrive in order or from the right people or at all. And how do you do so without leaking metadata.
It's going to be a combo of giftwraps and a few new event kinds for the control messages that need to be sent for managing groups. (remember that a DM is just a group of 2 participants).