ejabberd - Comments for "mod_last: Admin can&amp;#039;t query users last activity" https://www.ejabberd.im/node/24916 en I am not sure to understand https://www.ejabberd.im/node/24916#comment-65599 <p>I am not sure to understand what you want to do. You seem to create an admin bot to integrate with external stuff, which is not usually the good approach.</p> <p>Anyway, mod_last can only be queried by user contact. Here is what XEP-0012 says:</p> <blockquote><p> If the requesting entity is not authorized to view the user's presence information (normally via a presence subscription as defined in XMPP-IM), the user's server MUST NOT return last activity information but instead MUST return a error in response to the last activity request. </p></blockquote> <p>So, ejabberd behaviour is conform to specifications.</p> Tue, 26 May 2015 07:40:45 +0000 mremond comment 65599 at https://www.ejabberd.im