org.jivesoftware.openfire.carbons.Received 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 received by another resource.
*
* @author Christian Schudt
*/
public final class Received extends PacketExtension {
public Received(Forwarded forwarded) {
super("received", "urn:xmpp:carbons:2");
element.add(forwarded.getElement());
}
}