Did you try searching the settings? If so, do you still remember the term you entered? Even though I know this setting exists, I sometimes struggle to find it. I always forget to write down the search term, so I can’t suggest a keyword that would have helped me find the setting.
I think I use the plural, so something like “personal messages enabled groups”.