Kosmos Community

Chat: Automatically configure roster/contacts when inviting new users

It just hit me that when we have signups from invites in akkounts, we could automatically store roster information for the new user and the person who invited them (i.e. add them to each other’s authorized contacts). This way, there should be no friction in terms of OMEMO key exchange, and they would already see the other person when they’re online in most clients.

API endpoint for implementation: https://docs.ejabberd.im/developer/ejabberd-api/admin-api/#add-rosteritem

Just opened PRs for akkounts and chef, which add this feature:

1 Like