@pierredelacroix What I can tell you is that JC and Matthew had identified the fields that could store the information. It might be Role or Categories, I'm not sure.
Best way should to have a groups object on the user info sent by prosody. That way we don't depend on djangoldp (or any server of the federation) to maintain message history, like we're doing with user name, avatar, etc.
I'm not sure where it's the best place for, I've think of the vcard but the logic of vcard is more "This is group X, my members are Y, Z, W" than "I'm member Y of group X".
If we can get it from prosody, it'll be fine to use it in converse.
Somewhere in this gitlab there is an answer for that. I think it was JC who had made a proposition for a vcard field. I don't remember which one. Maybe we should ask him.
@jbpasquier : I believe the wording is misleading here. On Rocket Chat, we have tags like Partner or Newbie. My understanding is that this is what we are talking about here.
So I guess Django could just push a list of groups the user belong to and store that in the vcard.
I am not sure how to handle the fédération of that though...
By Alexandre on 2019-09-08T11:03:39 (imported from GitLab project)
It has to be the user data that contains groups. I we were to handle groups of other servers, which I'm not sure, we'd have to handle them through backlinks.