diff options
Diffstat (limited to 'Swiften/Avatars')
-rw-r--r-- | Swiften/Avatars/AvatarManager.cpp | 4 | ||||
-rw-r--r-- | Swiften/Avatars/AvatarManager.h | 2 | ||||
-rw-r--r-- | Swiften/Avatars/VCardUpdateAvatarManager.cpp | 4 | ||||
-rw-r--r-- | Swiften/Avatars/VCardUpdateAvatarManager.h | 2 |
4 files changed, 0 insertions, 12 deletions
diff --git a/Swiften/Avatars/AvatarManager.cpp b/Swiften/Avatars/AvatarManager.cpp index 909b07c..cd691c0 100644 --- a/Swiften/Avatars/AvatarManager.cpp +++ b/Swiften/Avatars/AvatarManager.cpp @@ -21,10 +21,6 @@ AvatarManager::~AvatarManager() { delete vcardUpdateAvatarManager; } -void AvatarManager::setMUCRegistry(MUCRegistry* mucRegistry) { - vcardUpdateAvatarManager->setMUCRegistry(mucRegistry); -} - boost::filesystem::path AvatarManager::getAvatarPath(const JID& jid) const { return vcardUpdateAvatarManager->getAvatarPath(jid); } diff --git a/Swiften/Avatars/AvatarManager.h b/Swiften/Avatars/AvatarManager.h index d3d593d..90f0076 100644 --- a/Swiften/Avatars/AvatarManager.h +++ b/Swiften/Avatars/AvatarManager.h @@ -29,8 +29,6 @@ namespace Swift { AvatarManager(VCardManager*, StanzaChannel*, AvatarStorage*, MUCRegistry* = NULL); virtual ~AvatarManager(); - virtual void setMUCRegistry(MUCRegistry*); - virtual boost::filesystem::path getAvatarPath(const JID&) const; public: diff --git a/Swiften/Avatars/VCardUpdateAvatarManager.cpp b/Swiften/Avatars/VCardUpdateAvatarManager.cpp index c7f1637..80d7730 100644 --- a/Swiften/Avatars/VCardUpdateAvatarManager.cpp +++ b/Swiften/Avatars/VCardUpdateAvatarManager.cpp @@ -28,10 +28,6 @@ VCardUpdateAvatarManager::~VCardUpdateAvatarManager() { } -void VCardUpdateAvatarManager::setMUCRegistry(MUCRegistry* mucRegistry) { - mucRegistry_ = mucRegistry; -} - void VCardUpdateAvatarManager::handlePresenceReceived(boost::shared_ptr<Presence> presence) { boost::shared_ptr<VCardUpdate> update = presence->getPayload<VCardUpdate>(); if (!update || presence->getPayload<ErrorPayload>()) { diff --git a/Swiften/Avatars/VCardUpdateAvatarManager.h b/Swiften/Avatars/VCardUpdateAvatarManager.h index b7ef34b..16c0ca3 100644 --- a/Swiften/Avatars/VCardUpdateAvatarManager.h +++ b/Swiften/Avatars/VCardUpdateAvatarManager.h @@ -28,8 +28,6 @@ namespace Swift { VCardUpdateAvatarManager(VCardManager*, StanzaChannel*, AvatarStorage*, MUCRegistry* = NULL); virtual ~VCardUpdateAvatarManager(); - virtual void setMUCRegistry(MUCRegistry*); - virtual boost::filesystem::path getAvatarPath(const JID&) const; public: |