How to make a roster in ejabberd automatically?

Put the latest version of ejabberd. Everything is stored in MySQL (MariaDB).

How to make so that when adding a new user from his contact list (roster) machine can see all other registered users?

And that to me is necessary for each user to make the roster.

For example, here is the form for editing the roster for user1:
April 4th 20 at 13:20
1 answer
April 4th 20 at 13:22

Find more questions by tags System administrationEjabberd