diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-10-24 12:17:55 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-10-24 13:06:26 (GMT) |
commit | 0f078be02cd6818aeacc935a1ab790b41267a00d (patch) | |
tree | acf7c1a08769c8332ccf9e07b00c48cf83f24172 /Swiften/Presence/PresenceOracle.h | |
parent | b107bdd08df9ae3a978ad8f966a26eb8d551bd13 (diff) | |
download | swift-contrib-0f078be02cd6818aeacc935a1ab790b41267a00d.zip swift-contrib-0f078be02cd6818aeacc935a1ab790b41267a00d.tar.bz2 |
Use the highest priority for a contact's roster item, not the newest.
Resolves: #654
Release-Notes: Contacts online from several clients at once should now show the highest priority presence, not the most recent.
Diffstat (limited to 'Swiften/Presence/PresenceOracle.h')
-rw-r--r-- | Swiften/Presence/PresenceOracle.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Presence/PresenceOracle.h b/Swiften/Presence/PresenceOracle.h index 8c4fce4..b0d1e15 100644 --- a/Swiften/Presence/PresenceOracle.h +++ b/Swiften/Presence/PresenceOracle.h @@ -26,6 +26,7 @@ class StanzaChannel; public: boost::signal<void (boost::shared_ptr<Presence>)> onPresenceChange; boost::signal<void (const JID&, const String&)> onPresenceSubscriptionRequest; + boost::signal<void (const JID&, const String&)> onPresenceSubscriptionRevoked; private: void handleIncomingPresence(boost::shared_ptr<Presence> presence); |