diff options
Diffstat (limited to 'plugins/CyrTranslit/src/MirandaContact.cpp')
-rw-r--r-- | plugins/CyrTranslit/src/MirandaContact.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/plugins/CyrTranslit/src/MirandaContact.cpp b/plugins/CyrTranslit/src/MirandaContact.cpp index 931ed6e2c6..166ec8cfa7 100644 --- a/plugins/CyrTranslit/src/MirandaContact.cpp +++ b/plugins/CyrTranslit/src/MirandaContact.cpp @@ -59,7 +59,6 @@ void MirandaContact::initialize() HookEvent(ME_CLIST_PREBUILDCONTACTMENU, onPreBuildContactMenu);
TransliterationProtocol::initialize();
- activateTransliterationProtocolForSubscribedContacts();
}
//------------------------------------------------------------------------------
@@ -109,22 +108,6 @@ void MirandaContact::generateMenuItemsForAllContacts() //------------------------------------------------------------------------------
-void MirandaContact::activateTransliterationProtocolForSubscribedContacts()
-{
- HANDLE hContact = db_find_first();
- if (!hContact)
- return;
-
- do {
- MirandaContact mc = getContact(reinterpret_cast<HANDLE>(hContact));
- if (mc.shouldTransliterateOutgoingMessages())
- mc.save();
- }
- while(hContact = db_find_next(hContact));
-}
-
-//------------------------------------------------------------------------------
-
INT_PTR MirandaContact::onMenuCommandTransliterate(WPARAM wParam, LPARAM lParam)
{
HANDLE hContact = reinterpret_cast<HANDLE>(wParam);
|