ejabberd - Comments for "How to add a contact list to a user by the server?"
https://www.ejabberd.im/forum/25249/how-add-contact-list-user-server
enSo, the algorithm code will
https://www.ejabberd.im/forum/25249/how-add-contact-list-user-server#comment-66393
<p>So, the algorithm code will be thus? (Many friends)</p>
<p>for (int i = 0; i < friends.size(); i ++) {<br />
add-rosteritem peter localhost + friends.get(i).username + localhost friends.get(i).name Friends both<br />
}</p>
<p>?</p>
Tue, 17 Nov 2015 18:12:38 +0000icaro56comment 66393 at https://www.ejabberd.imYou may use
https://www.ejabberd.im/forum/25249/how-add-contact-list-user-server#comment-66392
<p>You may use mod_shared_roster, or enable mod_admin_extra and use the commands add_rosteritem or push_roster.</p>
Tue, 17 Nov 2015 17:33:14 +0000badlopcomment 66392 at https://www.ejabberd.im