summaryrefslogtreecommitdiff
path: root/plugins/Toaster
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Toaster')
-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 fe5bd912fd..ed318ac5fb 100644
--- a/plugins/Toaster/src/services.cpp
+++ b/plugins/Toaster/src/services.cpp
@@ -14,7 +14,7 @@ void __stdcall ShowToastNotification(void* p)
ptrW imagePath;
if (td->hContact != NULL && td->hContact != INVALID_CONTACT_ID) {
- const char *szProto = GetContactProto(td->hContact);
+ const char *szProto = Proto_GetBaseAccountName(td->hContact);
if (ProtoServiceExists(szProto, PS_GETAVATARINFO)) {
PROTO_AVATAR_INFORMATION pai = { td->hContact };
if (CallProtoService(szProto, PS_GETAVATARINFO, 0, (LPARAM)&pai) == GAIR_SUCCESS)