diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/com/isode/stroke/serializer/StanzaAckSerializer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/isode/stroke/serializer/StanzaAckSerializer.java b/src/com/isode/stroke/serializer/StanzaAckSerializer.java index 4eba66e..a909164 100644 --- a/src/com/isode/stroke/serializer/StanzaAckSerializer.java +++ b/src/com/isode/stroke/serializer/StanzaAckSerializer.java @@ -22,7 +22,7 @@ class StanzaAckSerializer extends GenericElementSerializer<StanzaAck> { StanzaAck stanzaAck = (StanzaAck) element; assert stanzaAck.isValid(); XMLElement result = new XMLElement("a", "urn:xmpp:sm:2"); - result.setAttribute("h", Double.toString(stanzaAck.getHandledStanzasCount())); + result.setAttribute("h", Long.toString(stanzaAck.getHandledStanzasCount())); return result.serialize(); } } |