diff --git a/application/Contact.cpp b/application/Contact.cpp index 15fa943..0ad3d9b 100644 --- a/application/Contact.cpp +++ b/application/Contact.cpp @@ -35,7 +35,7 @@ Contact::_EnsureCachePath() { if (fCachePath.InitCheck() == B_OK) return; - fCachePath.SetTo(BuddyCachePath(fLooper->Protocol()->GetName(), + fCachePath.SetTo(ContactCachePath(fLooper->Protocol()->GetName(), fID.String())); } diff --git a/application/Utils.cpp b/application/Utils.cpp index 4d33ad1..6635255 100644 --- a/application/Utils.cpp +++ b/application/Utils.cpp @@ -208,11 +208,11 @@ UserCachePath(const char* accountName, const char* userIdentifier) const char* -BuddyCachePath(const char* accountName, const char* userIdentifier) +ContactCachePath(const char* accountName, const char* userIdentifier) { BPath path(AccountCachePath(accountName)); if (path.InitCheck() != B_OK) return NULL; - path.Append("Buddies"); + path.Append("Contacts"); if (create_directory(path.Path(), 0755) != B_OK) return NULL; path.Append(userIdentifier); return path.Path(); diff --git a/application/Utils.h b/application/Utils.h index e1c334d..f5f6087 100644 --- a/application/Utils.h +++ b/application/Utils.h @@ -39,7 +39,7 @@ const char* AccountCachePath(const char* accountName); const char* RoomsCachePath(const char* accountName); const char* RoomCachePath(const char* accountName, const char* roomIdentifier); const char* UserCachePath(const char* accountName, const char* userIdentifier); -const char* BuddyCachePath(const char* accountName, const char* userIdentifier); +const char* ContactCachePath(const char* accountName, const char* userIdentifier); rgb_color TintColor(rgb_color color, int severity); rgb_color ForegroundColor(rgb_color background); diff --git a/protocols/purple/PurpleApp.cpp b/protocols/purple/PurpleApp.cpp index 74cdcf1..04534e0 100644 --- a/protocols/purple/PurpleApp.cpp +++ b/protocols/purple/PurpleApp.cpp @@ -1707,7 +1707,7 @@ const char* buddies_cache(PurpleAccount* account) { BPath path(account_cache(account)); - path.Append("Buddies"); + path.Append("Contacts"); if (create_directory(path.Path(), 0755) != B_OK) return NULL; return path.Path();