diff --git a/application/Contact.cpp b/application/Contact.cpp index 0ad3d9b..15fa943 100644 --- a/application/Contact.cpp +++ b/application/Contact.cpp @@ -35,7 +35,7 @@ Contact::_EnsureCachePath() { if (fCachePath.InitCheck() == B_OK) return; - fCachePath.SetTo(ContactCachePath(fLooper->Protocol()->GetName(), + fCachePath.SetTo(BuddyCachePath(fLooper->Protocol()->GetName(), fID.String())); } diff --git a/application/Utils.cpp b/application/Utils.cpp index f22c3ab..4d33ad1 100644 --- a/application/Utils.cpp +++ b/application/Utils.cpp @@ -208,11 +208,11 @@ UserCachePath(const char* accountName, const char* userIdentifier) const char* -ContactCachePath(const char* accountName, const char* userIdentifier) +BuddyCachePath(const char* accountName, const char* userIdentifier) { BPath path(AccountCachePath(accountName)); if (path.InitCheck() != B_OK) return NULL; - path.Append("People"); + path.Append("Buddies"); 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 f5f6087..e1c334d 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* ContactCachePath(const char* accountName, const char* userIdentifier); +const char* BuddyCachePath(const char* accountName, const char* userIdentifier); rgb_color TintColor(rgb_color color, int severity); rgb_color ForegroundColor(rgb_color background);