comparison mcabber/src/jabglue.c @ 1578:5bb4b580f229

Merge main and crew
author Mikael Berthe <mikael@lilotux.net>
date Mon, 13 Apr 2009 01:16:23 +0200
parents 3d4c85664dad e1a642472f4e
children b5861a0fcd30
comparison
equal deleted inserted replaced
1573:ece4f26bf9ff 1578:5bb4b580f229
1811 #endif 1811 #endif
1812 1812
1813 #ifdef HAVE_LIBOTR 1813 #ifdef HAVE_LIBOTR
1814 if (otr_enabled()) { 1814 if (otr_enabled()) {
1815 decrypted_otr = (char*)body; 1815 decrypted_otr = (char*)body;
1816 mc_strtolower(bjid);
1817 otr_msg = otr_receive(&decrypted_otr, bjid, &free_msg); 1816 otr_msg = otr_receive(&decrypted_otr, bjid, &free_msg);
1818 if (!decrypted_otr) { 1817 if (!decrypted_otr) {
1819 goto gotmessage_return; 1818 goto gotmessage_return;
1820 } 1819 }
1821 body = decrypted_otr; 1820 body = decrypted_otr;