From 47318893c6ac81644b8c81bc6f58610cd624568d Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Thu, 16 Sep 2010 06:07:04 +0300 Subject: added autoassigning existing key for contact with gpg sign in prescense, import from keyserver later --- messages.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'messages.cpp') diff --git a/messages.cpp b/messages.cpp index 9dfe9d7..a97e433 100644 --- a/messages.cpp +++ b/messages.cpp @@ -42,6 +42,8 @@ int RecvMsgSvc(WPARAM w, LPARAM l) { //check for gpg related data wchar_t *tmp = mir_utf8decodeW(msg); + if(!tmp) + tmp = mir_a2t(msg); wstring str = tmp; mir_free(tmp); wstring::size_type s1 = wstring::npos, s2 = wstring::npos; -- cgit v1.2.3