diff options
Diffstat (limited to 'plugins/AVS/src')
-rw-r--r-- | plugins/AVS/src/contact_ava.cpp | 1 | ||||
-rw-r--r-- | plugins/AVS/src/services.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/AVS/src/contact_ava.cpp b/plugins/AVS/src/contact_ava.cpp index 9a4b935a49..d2d8c08399 100644 --- a/plugins/AVS/src/contact_ava.cpp +++ b/plugins/AVS/src/contact_ava.cpp @@ -30,6 +30,7 @@ class CContactAvatarDlg : public CDlgBase INT_PTR OnAvatarChanged(UINT, WPARAM, LPARAM) { InvalidateRect(GetDlgItem(m_hwnd, IDC_PROTOPIC), nullptr, TRUE); + return 0; } INT_PTR OnDrawItem(UINT, WPARAM, LPARAM lParam) diff --git a/plugins/AVS/src/services.cpp b/plugins/AVS/src/services.cpp index d6fa1fdbb8..544e521b4e 100644 --- a/plugins/AVS/src/services.cpp +++ b/plugins/AVS/src/services.cpp @@ -167,7 +167,7 @@ INT_PTR SetAvatar(WPARAM hContact, LPARAM lParam) MakePathRelative(hContact, szFinalName);
// Fix cache
- ChangeAvatar(hContact, true);
+ ChangeAvatar(hContact, false, false, ProtoGetAvatarFileFormat(szFinalName));
return 1;
}
|