hello every body .
I enabled mam archiving in ejabberd , when I send a messsage to users ,
the receiver of message has information about timestamp of message in received packet like bellow ,
<archived by='989138553343@192.168.43.67' id='1508653008093085' xmlns='urn:xmpp:mam:tmp'/>
is it pussible to get this info in StanzaIdAcknowledgedListener that I am using it like bellow :
(I am using ejabbeejabberd-17.08 server and smack in android client .)
mConnection.addStanzaIdAcknowledgedListener(stanzaId, new StanzaListener() {
@Override
public void processStanza(final Stanza packet) throws SmackException.NotConnectedException, InterruptedException {
AndroidUtilities.runOnUIThread(new Runnable() {
@Override
public void run() {
//handle ack received by server
}
});
}
});