diff options
Diffstat (limited to 'Swiften/Elements')
-rw-r--r-- | Swiften/Elements/StanzaAck.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Elements/StanzaAck.h b/Swiften/Elements/StanzaAck.h index eaf4e26..53b62b4 100644 --- a/Swiften/Elements/StanzaAck.h +++ b/Swiften/Elements/StanzaAck.h @@ -13,6 +13,7 @@ namespace Swift { class StanzaAck : public Element, public Shared<StanzaAck> { public: StanzaAck() : valid(false), handledStanzasCount(0) {} + StanzaAck(unsigned int handledStanzasCount) : valid(true), handledStanzasCount(handledStanzasCount) {} unsigned int getHandledStanzasCount() const { return handledStanzasCount; |