org.jivesoftware.openfire.carbons.Sent Maven / Gradle / Ivy
The newest version!
package org.jivesoftware.openfire.carbons;
import org.jivesoftware.openfire.forward.Forwarded;
import org.xmpp.packet.PacketExtension;
/**
* The implementation of the {@code } extension.
* It indicates, that a message has been sent by the same user from another resource.
*
* @author Christian Schudt
*/
public final class Sent extends PacketExtension {
public Sent(Forwarded forwarded) {
super("sent", "urn:xmpp:carbons:2");
element.add(forwarded.getElement());
}
}