title: How to enable/disable LastSeen in openfire XMPP
body: <p>How can I enable and disable the last seen of the user in XMPP Android and iOS.
  I tried to disable LastActivityManager but it is not working.</p>
  
  <p>There is also an option to setLastActivity in smack. I also set -1 in that but it is not working.</p>
  
  <p>Also, I changed the presence and subscription of the user and tried all the way.</p>
  
  <p>So is there any setting/configuration for last seen in XMPP or we need to manage it in the traditional API way?</p>