[ejabberd] hook roster_get in own mod_roster

Mickael Remond mickael.remond at process-one.net
Thu May 28 20:19:43 MSD 2009


Stephan Maihöfer wrote:

> after a look into the code it seems that it is actually
> roster_get_subscription_lists that is being called on
> session creation (in line 819 of ejabberd_c2s.erl). 
> i thought that would not be the case when i do not request 
> the roster AND do not send any kind of presence. so that the 
> server should not see any need to send presence or my roster to me.

It is loaded at the beginning of the session to cache it.
A roster without sending any presence is usually not useful and I am not
sure why you need this on large scale.

Mickaël Rémond

More information about the ejabberd mailing list