From 61b460616392f97cd3df0df85c6070c418829669 Mon Sep 17 00:00:00 2001 From: Piotr Piastucki Date: Tue, 3 Nov 2015 18:28:02 +0000 Subject: 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 --- plugins/MirOTR/src/otr.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') 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"); -- cgit v1.2.3