ejabberd - Comments for "Detect presence before sending?" https://www.ejabberd.im/node/3116 en Answer: https://www.ejabberd.im/node/3116#comment-53340 <p>Gonna answer my own question:</p> <p>ejabberd_sm:get_user_resources(User, Server) </p> <p>Returns a list of resources if the user is logged in, and an empty list if they're not logged in.</p> Wed, 25 Jun 2008 18:21:16 +0000 shadowfury comment 53340 at https://www.ejabberd.im