summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Toaster/src/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Toaster/src/services.cpp b/plugins/Toaster/src/services.cpp
index dab8258726..323eb50b72 100644
--- a/plugins/Toaster/src/services.cpp
+++ b/plugins/Toaster/src/services.cpp
@@ -51,7 +51,7 @@ static void ShowToastNotification(TCHAR* text, TCHAR* title, MCONTACT hContact)
wchar_t dir[MAX_PATH];
FoldersGetCustomPathT(g_hTempAvatarsFolder, dir, _countof(dir), VARSW(L"%miranda_userdata%\\Temp"));
ToasterAvatar *ta = new ToasterAvatar(&pai);
- CMStringW wszPath(FORMAT, L"%s\\%lld.%d.png", dir, hContact, db_get_dw(hContact, "ContactPhoto", "ImagePath"));
+ CMStringW wszPath(FORMAT, L"%s\\%lld.%d.png", dir, hContact, db_get_dw(hContact, "ContactPhoto", "ImageHash"));
ta->Save(wszPath);
imagePath = wszPath.Detach();
delete ta;