diff options
author | George Hazan <george.hazan@gmail.com> | 2015-02-13 19:15:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-02-13 19:15:58 +0000 |
commit | 7703c94a20e17edca4da21bc357db3116376ae6d (patch) | |
tree | 5e533284d00a07417fa391e52ba57b22084f4dc9 /protocols/WhatsApp/src/proto.cpp | |
parent | b9f7714070ea5673ee9d23d26b430eba04f1cf37 (diff) |
fix for nick name cleaning after chat deletion
git-svn-id: http://svn.miranda-ng.org/main/trunk@12101 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/proto.cpp')
-rw-r--r-- | protocols/WhatsApp/src/proto.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/WhatsApp/src/proto.cpp b/protocols/WhatsApp/src/proto.cpp index b09c81fc68..aa09bbac80 100644 --- a/protocols/WhatsApp/src/proto.cpp +++ b/protocols/WhatsApp/src/proto.cpp @@ -28,6 +28,7 @@ WhatsAppProto::WhatsAppProto(const char* proto_name, const TCHAR* username) : CreateProtoService(PS_GETMYAVATART, &WhatsAppProto::GetMyAvatar);
CreateProtoService(PS_SETMYAVATART, &WhatsAppProto::SetMyAvatar);
+ HookProtoEvent(ME_DB_CONTACT_DELETED, &WhatsAppProto::OnDeleteChat);
HookProtoEvent(ME_OPT_INITIALISE, &WhatsAppProto::OnOptionsInit);
HookProtoEvent(ME_CLIST_PREBUILDSTATUSMENU, &WhatsAppProto::OnBuildStatusMenu);
|