diff options
Diffstat (limited to 'protocols/Telegram')
-rw-r--r-- | protocols/Telegram/src/avatars.cpp | 2 | ||||
-rw-r--r-- | protocols/Telegram/src/main.cpp | 2 | ||||
-rw-r--r-- | protocols/Telegram/src/stdafx.h | 2 |
3 files changed, 1 insertions, 5 deletions
diff --git a/protocols/Telegram/src/avatars.cpp b/protocols/Telegram/src/avatars.cpp index 4a08866989..48236fd9e7 100644 --- a/protocols/Telegram/src/avatars.cpp +++ b/protocols/Telegram/src/avatars.cpp @@ -204,8 +204,6 @@ void CTelegramProto::ProcessFile(TD::updateFile *pObj) F->ofd->ResetFileName(wszFullName); // resulting ofd->wszPath may differ from wszFullName
MoveFileW(wszExistingFile, F->ofd->wszPath);
- NotifyEventHooks(g_plugin.m_hevEventEdited, 0, F->ofd->hDbEvent);
-
F->ofd->Finish();
}
diff --git a/protocols/Telegram/src/main.cpp b/protocols/Telegram/src/main.cpp index 9ed452ad48..32206a9b6c 100644 --- a/protocols/Telegram/src/main.cpp +++ b/protocols/Telegram/src/main.cpp @@ -49,7 +49,5 @@ int CMPlugin::Load() registerIcon("Protocols/Telegram", iconList, "tg");
m_hIcon = ExtraIcon_RegisterIcolib("tg_premium", LPGEN("Telegram Premium user"), getIconHandle(IDI_PREMIUM));
-
- m_hevEventEdited = CreateHookableEvent(ME_DB_EVENT_EDITED);
return 0;
}
diff --git a/protocols/Telegram/src/stdafx.h b/protocols/Telegram/src/stdafx.h index dad748c7cd..f6e7100f53 100644 --- a/protocols/Telegram/src/stdafx.h +++ b/protocols/Telegram/src/stdafx.h @@ -49,7 +49,7 @@ struct CMPlugin : public ACCPROTOPLUGIN<CTelegramProto> {
CMPlugin();
- HANDLE m_hIcon, m_hevEventEdited;
+ HANDLE m_hIcon;
int Load() override;
};
|