summaryrefslogtreecommitdiff
path: root/plugins/MirOTR
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-21 09:48:22 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-21 09:48:22 +0000
commit8d5ba8b33cad9eb86066fefc29102d2734f4a292 (patch)
tree8ba73b8a9f72c76b7803249dba47bdec3b421987 /plugins/MirOTR
parent14581eb25783e0ffadb2af430b97074f6f1ec652 (diff)
improperly named helper renamed
git-svn-id: http://svn.miranda-ng.org/main/trunk@17110 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR')
-rw-r--r--plugins/MirOTR/src/otr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirOTR/src/otr.cpp b/plugins/MirOTR/src/otr.cpp
index 60f4dd4136..8125247cd2 100644
--- a/plugins/MirOTR/src/otr.cpp
+++ b/plugins/MirOTR/src/otr.cpp
@@ -138,7 +138,7 @@ extern "C" {
DEBUGOUT_T("OTR_GUI_INJECT_MESSAGE\n");
MCONTACT hContact = (UINT_PTR)opdata;
if (db_get_w(hContact, protocol, "Status", ID_STATUS_OFFLINE) != ID_STATUS_OFFLINE)
- CallContactService(hContact, PSS_MESSAGE, PREF_BYPASS_OTR, (LPARAM)message);
+ ProtoChainSend(hContact, PSS_MESSAGE, PREF_BYPASS_OTR, (LPARAM)message);
}
/* When the list of ConnContexts changes (including a change in
@@ -383,7 +383,7 @@ extern "C" {
TCHAR* tmp = mir_utf8decodeT(message);
mir_snwprintf(msg, _countof(msg), TranslateT("The following message received from '%s' was NOT encrypted:\n\n%s"), contact, tmp);
mir_free(tmp);
- CallContactService(hContact, PSS_MESSAGE, PREF_BYPASS_OTR, (LPARAM)message);
+ ProtoChainSend(hContact, PSS_MESSAGE, PREF_BYPASS_OTR, (LPARAM)message);
break; }
case OTRL_MSGEVENT_RCVDMSG_FOR_OTHER_INSTANCE:
// title = TranslateT("Received message for a different session");