aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/xmpp/stanzas/streammgmt/ResumePacket.java
blob: dcf321013185d70413325f295457ec3ba5a7565f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package eu.siacs.conversations.xmpp.stanzas.streammgmt;

import eu.siacs.conversations.xmpp.stanzas.AbstractStanza;

public class ResumePacket extends AbstractStanza {

	public ResumePacket(String id, int sequence, int smVersion) {
		super("resume");
		this.setAttribute("xmlns","urn:xmpp:sm:"+smVersion);
		this.setAttribute("previd", id);
		this.setAttribute("h", ""+sequence);
	}

}