ejabberd - Comments for "JID of a command&amp;#039;s caller?" https://www.ejabberd.im/forum/25462/jid-commands-caller en I think I've figured it https://www.ejabberd.im/forum/25462/jid-commands-caller#comment-66869 <p>I think I've figured it out.</p> <p>I set the command's 'policy' to 'user' and called the REST API without the X-Admin header. The user/host are then passed to the 'user and 'group' params of my handler function.</p> <p>Edward</p> Thu, 28 Apr 2016 13:14:33 +0000 edd comment 66869 at https://www.ejabberd.im