diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-09-16 06:07:04 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-09-16 06:07:04 +0300 |
commit | 47318893c6ac81644b8c81bc6f58610cd624568d (patch) | |
tree | fd214d63a797392b3a7ba3aa80ef5cb9b795fcbc /messages.cpp | |
parent | 73815a8f028cee1caf3e7ce597fbb409cc0c5396 (diff) |
added autoassigning existing key for contact with gpg sign in prescense, import from keyserver later
Diffstat (limited to 'messages.cpp')
-rw-r--r-- | messages.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |