title: 'from' attribute missing in ejabberd offline message Packet
body: <p>I'm trying to write a module, which triggers a HTTP POST to an API when a user receives an offline message in ejabberd. It's for an iOS app which supports Push notifications. </p>
  
  <p>I followed the guide on <a href="http://jasonrowe.com/2011/12/30/ejabberd-offline-messages/" rel="nofollow">http://jasonrowe.com/2011/12/30/ejabberd-offline-messages/</a></p>
  
  <p>I tested the code in the blog post. Most parts are working, but the <code>from</code> attribute is missing in the intercepted offline message. As you can see in the above blog post, the author's screen shot has the same problem, too. So, how can I get the sender's account name in an offline message Packet? </p>
  
  <p>Did I miss something or is it a bug (in offline message, <code>from</code> attribute is just missing)? </p>
  
  <p>BTW, I configured shared roster 'Everyone' in my ejabberd config, which allows everyone to see everyone as 'contacts'. I'm not sure if it's the reason. </p>
  
  <p>Thanks :)</p>