diff options
author | George Hazan <ghazan@miranda.im> | 2021-04-30 16:37:15 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-04-30 16:37:15 +0300 |
commit | a819f36c8ffaf31af6908cc1f0480a66f71f2a4b (patch) | |
tree | 75a5ac6d5d5c9fddd952a2f00ed1f0f8b00329c4 /plugins | |
parent | a2d8f7837ac08ae21dfdb0f861d58989cf57e99b (diff) |
не надо на каждый созданный контакт говорить, что он принадлежит Watrack
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Watrack/proto/proto.pas | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/Watrack/proto/proto.pas b/plugins/Watrack/proto/proto.pas index 648d1e7e26..1653e33831 100644 --- a/plugins/Watrack/proto/proto.pas +++ b/plugins/Watrack/proto/proto.pas @@ -301,13 +301,6 @@ begin end;
end;
-function HookAddUser(hContact:WPARAM;lParam:LPARAM):int; cdecl;
-begin
- result:=0;
- if not IsChat(hContact) then
- Proto_AddToContact(hContact,PluginShort);
-end;
-
function OnContactMenu(hContact:WPARAM;lParam:LPARAM):int;cdecl;
begin
if IsMirandaUser(hContact)<=0 then
@@ -376,7 +369,6 @@ begin RegisterContacts;
hGCI:=CreateServiceFunction(MS_WAT_GETCONTACTINFO,@SendRequest);
HookEvent(ME_CLIST_PREBUILDCONTACTMENU,@OnContactMenu);
- HookEvent(ME_DB_CONTACT_ADDED ,@HookAddUser);
end;
procedure DeInitProc(aSetDisable:boolean);
|