summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-09-06 16:20:30 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-09-06 16:21:22 (GMT)
commitebccdadcae24932b299a8612a9c6e0cdc4e00249 (patch)
tree8e56f94c023c9f3b079bcd9fd00d7983f708014d /Swiften/Elements
parent1e2c3461458f4274d539daf51507ce81d845cce0 (diff)
downloadswift-contrib-ebccdadcae24932b299a8612a9c6e0cdc4e00249.zip
swift-contrib-ebccdadcae24932b299a8612a9c6e0cdc4e00249.tar.bz2
Only request acks after a message was sent.
Diffstat (limited to 'Swiften/Elements')
-rw-r--r--Swiften/Elements/Presence.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Elements/Presence.h b/Swiften/Elements/Presence.h
index 311c2cf..0789b18 100644
--- a/Swiften/Elements/Presence.h
+++ b/Swiften/Elements/Presence.h
@@ -6,14 +6,14 @@
#pragma once
+#include "Swiften/Base/Shared.h"
#include "Swiften/Elements/Stanza.h"
#include "Swiften/Elements/Status.h"
#include "Swiften/Elements/StatusShow.h"
#include "Swiften/Elements/Priority.h"
namespace Swift {
- class Presence : public Stanza
- {
+ class Presence : public Stanza, public Shared<Presence> {
public:
enum Type { Available, Error, Probe, Subscribe, Subscribed, Unavailable, Unsubscribe, Unsubscribed };