title: How To get Old Messages (Chat History) from XMPP
body: <p>I am new to XMPP.  </p>
  
  <p>and I need to get chat history from <strong>Openfire</strong> with <strong>XMPP</strong>.</p>
  
  <p>I did Googling but didn't get satisfactory Answer.  </p>
  
  <p>Any link or idea will be great help.</p>