diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-11 17:01:26 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-11 17:01:26 +0300 |
commit | 22977408e43caa45687e0c9d5a003b800700bea9 (patch) | |
tree | fea533846f3297c8fe02044e26df9af1808f85dc /plugins/TabSRMM/src/msgs.cpp | |
parent | cfd7dee86b0cc9eb8ac8c87e9b2b4b356d462056 (diff) |
if a user's avatar was changed, redraw it and all related objects (including thumb window in a taskbar)
fixes #1249
Diffstat (limited to 'plugins/TabSRMM/src/msgs.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgs.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp index efb25389cb..3d3c676de8 100644 --- a/plugins/TabSRMM/src/msgs.cpp +++ b/plugins/TabSRMM/src/msgs.cpp @@ -494,6 +494,16 @@ int SplitmsgShutdown(void) return 0;
}
+int AvatarChanged(WPARAM wParam, LPARAM lParam)
+{
+ if (wParam == 0)
+ return 0;
+
+ for (TContainerData *p = pFirstContainer; p; p = p->pNext)
+ BroadCastContainer(p, DM_UPDATEPICLAYOUT, wParam, lParam);
+ return 0;
+}
+
int MyAvatarChanged(WPARAM wParam, LPARAM lParam)
{
if (wParam == 0 || IsBadReadPtr((void*)wParam, 4))
|