From 22977408e43caa45687e0c9d5a003b800700bea9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 11 Apr 2018 17:01:26 +0300 Subject: if a user's avatar was changed, redraw it and all related objects (including thumb window in a taskbar) fixes #1249 --- plugins/TabSRMM/src/globals.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/TabSRMM/src/globals.cpp') diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp index ba03372f6f..6ab4e3d396 100644 --- a/plugins/TabSRMM/src/globals.cpp +++ b/plugins/TabSRMM/src/globals.cpp @@ -235,14 +235,15 @@ void CGlobals::hookSystemEvents() { HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded); HookEvent(ME_SKIN_ICONSCHANGED, ::IconsChanged); + HookEvent(ME_SKIN2_ICONSCHANGED, ::IcoLibIconsChanged); HookEvent(ME_PROTO_CONTACTISTYPING, CMimAPI::TypingMessage); HookEvent(ME_PROTO_ACK, CMimAPI::ProtoAck); HookEvent(ME_SYSTEM_PRESHUTDOWN, PreshutdownSendRecv); HookEvent(ME_SYSTEM_OKTOEXIT, OkToExit); HookEvent(ME_CLIST_PREBUILDCONTACTMENU, CMimAPI::PrebuildContactMenu); - - HookEvent(ME_SKIN2_ICONSCHANGED, ::IcoLibIconsChanged); + + HookEvent(ME_AV_AVATARCHANGED, ::AvatarChanged); HookEvent(ME_AV_MYAVATARCHANGED, ::MyAvatarChanged); } -- cgit v1.2.3