It would be useful for the state interface also to track invite codes.
Currently, it seems like a relay developer has to do that manually using internal querying.
This would be really useful to e.g. show an invite code on startup, so some initial users can join auto-created groups.