ejabberd - Comments for "Question about changing roster items" https://www.ejabberd.im/node/2632 en Thanks for the answer. I https://www.ejabberd.im/node/2632#comment-50973 <p>Thanks for the answer.<br /> I know of this patch and use it. I even added some code in ejabberd_c2s.erl to replace users' resources with their IP adresses. But this way is a little insecure as everyone sees everyone's IP.</p> <p>So the next question is: how clients gather resource info of contacts?</p> Fri, 28 Sep 2007 04:35:55 +0000 uvizhe comment 50973 at https://www.ejabberd.im uvizhe wrote: Hi, I want to https://www.ejabberd.im/node/2632#comment-50969 <div class="quote-msg"> <div class="quote-author"><em>uvizhe</em> wrote:</div> <p>Hi,<br /> I want to substitute some attributes of roster items. For example replace Resource info with IP-address.<br /> Point me where to start digging. Maybe mod_roster.erl?</p></div> <p>The information about roster items stored in the database does not include the resource, since that attribute is short-lived.</p> <p>You can start looking at mod_roster.erl, and also ejabberd_sm.erl</p> <p>By the way, there is a feature in ejabberd SVN to show the user IP address in the ejabberd Web Admin.</p> Thu, 27 Sep 2007 20:10:11 +0000 mfoss comment 50969 at https://www.ejabberd.im