summaryrefslogtreecommitdiff
path: root/plugins/MirOTR
diff options
context:
space:
mode:
authorPiotr Piastucki <leech.miranda@gmail.com>2015-11-03 18:28:02 +0000
committerPiotr Piastucki <leech.miranda@gmail.com>2015-11-03 18:28:02 +0000
commit61b460616392f97cd3df0df85c6070c418829669 (patch)
treee93b161e44e2571556565572319e1d83e2b5c8ef /plugins/MirOTR
parent43865da50e05ff4225123b476addd3247083dc16 (diff)
MirOTR: Deliver unencrypted message to msg dialog to not lose it.
git-svn-id: http://svn.miranda-ng.org/main/trunk@15674 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR')
-rw-r--r--plugins/MirOTR/src/otr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/MirOTR/src/otr.cpp b/plugins/MirOTR/src/otr.cpp
index 4528bf64e4..728314d726 100644
--- a/plugins/MirOTR/src/otr.cpp
+++ b/plugins/MirOTR/src/otr.cpp
@@ -373,6 +373,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);
break; }
case OTRL_MSGEVENT_RCVDMSG_FOR_OTHER_INSTANCE:
// title = TranslateT("Received message for a different session");