diff options
author | ElzorFox <elzorfox@ya.ru> | 2018-09-27 11:37:06 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2018-09-27 11:37:06 +0500 |
commit | d91be420977573cedd2d9f17b604e2161dacb905 (patch) | |
tree | 10e52807f56fdf446701d60f2862d412d5226883 | |
parent | a828455c32303c292882805388508c594a777af4 (diff) |
StdMsg and Scriver: ME_DB_EVENT_EDITED support
-rw-r--r-- | plugins/Scriver/src/msgs.cpp | 1 | ||||
-rw-r--r-- | src/core/stdmsg/src/globals.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index 9099cffb36..ac2bfd44ce 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -631,6 +631,7 @@ int OnLoadModule(void) HookEvent(ME_OPT_INITIALISE, OptInitialise);
HookEvent(ME_DB_EVENT_ADDED, MessageEventAdded);
+ HookEvent(ME_DB_EVENT_EDITED, MessageEventAdded);
HookEvent(ME_DB_CONTACT_SETTINGCHANGED, MessageSettingChanged);
HookEvent(ME_DB_CONTACT_DELETED, ContactDeleted);
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
diff --git a/src/core/stdmsg/src/globals.cpp b/src/core/stdmsg/src/globals.cpp index 8c53924a1a..98279aafb2 100644 --- a/src/core/stdmsg/src/globals.cpp +++ b/src/core/stdmsg/src/globals.cpp @@ -158,6 +158,7 @@ void InitGlobals() g_dat.bSendOnCtrlEnter = true;
HookEvent(ME_DB_EVENT_ADDED, dbaddedevent);
+ HookEvent(ME_DB_EVENT_EDITED, dbaddedevent);
HookEvent(ME_PROTO_ACK, ackevent);
HookEvent(ME_SKIN2_ICONSCHANGED, IconsChanged);
HookEvent(ME_AV_AVATARCHANGED, AvatarChanged);
|