Running nodeBB 1.0.0 here with the persona theme.
userGroups always seems to return an empty list on my system when I check the user/settings page via the API: "userGroups":
Whether a user is assigned to one group, no groups or multiple groups, nodebb consistently returns nothing for userGroups, making it very hard to user group titles properly. Some who have been assigned to to a single group do have a valid return for groupTitle, but making any changes on the settings page will force groupTitle to "" (empty string) since the only selectable option for group title is "No Group Title" due to userGroups returning empty.
Has anyone else experienced this or do you have any advice on debugging/troubleshooting this? I can't imagine any of the plugins I have would interfere with function surrounding getUserGroups . I don't want to report it as a bug because I figure someone else would have reported this a long time ago if it was an issue with the core code. Any thoughts would be super helpful.