diff options
Diffstat (limited to 'Swiften/Avatars/DummyAvatarManager.h')
-rw-r--r-- | Swiften/Avatars/DummyAvatarManager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Avatars/DummyAvatarManager.h b/Swiften/Avatars/DummyAvatarManager.h index db63b05..ec5068e 100644 --- a/Swiften/Avatars/DummyAvatarManager.h +++ b/Swiften/Avatars/DummyAvatarManager.h @@ -13,8 +13,8 @@ namespace Swift { class DummyAvatarManager : public AvatarManager { public: - virtual boost::filesystem::path getAvatarPath(const JID&) const { - return boost::filesystem::path(); + virtual boost::filesystem::path getAvatarPath(const JID& j) const { + return boost::filesystem::path("/avatars") / j.toString().getUTF8String(); } virtual ByteArray getAvatar(const JID& jid) const { |