powered by Jive Software

How to set TTL for xmpp message?

I am using these libraries

org.igniterealtime.smack:smack-android:4.1.0
org.igniterealtime.smack:smack-tcp:4.1.0

How can I set TTL for every message from Android Application?

What should happen if the TTL expires?

I want to use that TTL in xmpp server to delete it. As saw this link http://xmpp.org/extensions/xep-0023.html

There is XEP-0079: Advanced Message Processing 's expire-at and Smack has support for XEP-0079.