prosody-mod-smacks (XEP-0198: Stream Management) When using XEP-0198 both the client and the server keep a queue of the most recently sent stanzas - this is cleared when the other end acknowledges they have received the stanzas.